Closed LordSuprachris closed 1 month ago
Hi. The test "sum == value[8]" always returns false as it's a comparison between integer and char, thus the function always returns ValidationResult.InvalidChecksum(). Adding a parsing to integer on value[8] resolves the problem.
Hi. The test "sum == value[8]" always returns false as it's a comparison between integer and char, thus the function always returns ValidationResult.InvalidChecksum(). Adding a parsing to integer on value[8] resolves the problem.