Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed checksum CRC issue for values less than 1000 #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ghost
Copy link

@ghost ghost commented May 5, 2024

Description

This PR addresses the issue of CRC checksum errors occurring for QR codes with CRC less than 1000. Currently, the validation function compares '0028' (checksum) with '28' (hash), resulting in a 'Checksum validation failed.' error. This issue is tracked in Issue #3.

To fix this issue, I have updated the validation function to handle CRC checksums less than 1000 correctly, ensuring that the comparison between checksum and hash is done accurately.

Changes Made

  • Updated the validation function to handle CRC checksums less than 1000 correctly.
  • Added a reference to Issue #3 in the description.

Related Issues

  • Issue #3: QR codes with CRC less than 1000 returning error 'Checksum validation failed.'

@ghost ghost mentioned this pull request May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant