Skip to content

Commit 065862b

Browse files
committed
Fix bug.
1 parent 02c9002 commit 065862b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • FiscalDeviceStatusDecoder/Application/Services

FiscalDeviceStatusDecoder/Application/Services/Hex.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public string ConvertToBinary(string separator = "") =>
2222

2323
public void ReduceRange(int? lessThan = null, int? moreThan = null)
2424
{
25-
bool _ = Value.Length % 2 != 0 ? true : throw new ArgumentException($"You must write HEX number!");
25+
bool _ = Value.Length % 2 == 0 ? true : throw new ArgumentException($"You must write HEX number!");
2626

2727
List<string> validHexNumbers = new List<string>();
2828

0 commit comments

Comments
 (0)