In PR #38, I changed the function of the .hex() method to drop the 0x-prefix to match the parent bytes class. But it turns out some other libs depend on there being a quick method to render an 0x-prefixed string.
How was it fixed?
Added the to_0x_hex() method to provide the same functionality .hex() used to have, but more explicitly.
Todo:
[x] Clean up commit history
[x] Add or update documentation related to these changes
What was wrong?
In PR #38, I changed the function of the
.hex()
method to drop the0x
-prefix to match the parentbytes
class. But it turns out some other libs depend on there being a quick method to render an 0x-prefixed string.How was it fixed?
Added the
to_0x_hex()
method to provide the same functionality.hex()
used to have, but more explicitly.Todo:
[x] Clean up commit history
[x] Add or update documentation related to these changes
[x] Add entry to the release notes
Cute Animal Picture