rust-bitcoin / rust-bech32-bitcoin

Encoding and decoding Segregated Witness addresses in Bech32 format
16 stars 25 forks source link

Integrate fixes for Witness Version > 0 #5

Closed clarkmoody closed 7 years ago

clarkmoody commented 7 years ago

As per Sipa's update, the witness version should be offset by 0x50 not 0x80 to place witness versions 1-16 on the OP_1 through OP_16 opcodes.