Skip to content

Conversation

@danielwinkler
Copy link

The current logic length == 1 ? a + a : a; is wrong, it should be length == 1 ? '0' + a : a;

This PR fixes this problem and simplifies the toHex logic

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.

3 participants