Closed mengguang closed 1 year ago
https://github.com/ElementsProject/libwally-core/blob/ff4c31dedda13b2bbec6f738a9dcd92ae4165173/include/wally_address.h#L56 bytes_len should be HASH160_LEN + 2 or SHA256_LEN +2 , because bytes include version and opcode.
Fixed, thanks for reporting!
https://github.com/ElementsProject/libwally-core/blob/ff4c31dedda13b2bbec6f738a9dcd92ae4165173/include/wally_address.h#L56 bytes_len should be HASH160_LEN + 2 or SHA256_LEN +2 , because bytes include version and opcode.