BigUint(0) bug fixed (encode_base127) #10
Reference in New Issue
Block a user
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello! First of all, I am really grateful for your sharing this useful library.
I accidentally found this bug while encoding oid(1.3.132.0.10) (which is secp256k1) into DER format. I added a small fix for encode_base127 function so that it returns a vector with one 0 byte when BigUint(0) was given.
Perfect. Thanks!