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

Generate panics if id has non-hex characters. #1

mdwhatcott opened this Issue Mar 14, 2019 · 0 comments


None yet
1 participant
Copy link

mdwhatcott commented Mar 14, 2019

Fun library!

It looks like Generate should be safe, returning an error. MustGenerate checks for the error an panics. But if non-hex characters are passed to Generate, an out-of-range panic ensues (probably not intended). Stay tuned for a PR to check for all 5 hex characters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.