You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hexFrom will return 0x which is an invalid hex string when an empty array was provided as argument, since bytesTo returns empty string when zero-length bytes was provided.
Illegal hex string like 0x will be refused by BigInt and leads to an exception.
hexFrom
will return0x
which is an invalid hex string when an empty array was provided as argument, sincebytesTo
returns empty string when zero-length bytes was provided.Illegal hex string like
0x
will be refused byBigInt
and leads to an exception.Minimum reproduce: https://github.com/Officeyutong/ckb-ccc-core-hex-from-reproduce
A PR has been made to fix this issue #90
The text was updated successfully, but these errors were encountered: