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
Because the witness version is actually a 'small int' opcode - that is, for witness version 1, without decode_op_n(), the returned value will be 0x51. It worked for version 0 because 'small int' opcode is decoded as 0 --> 0; 0x51..0x60 --> 1..16
The text was updated successfully, but these errors were encountered:
python-bitcoinlib/bitcoin/core/script.py
Lines 692 to 694 in 173a73e
Because the witness version is actually a 'small int' opcode - that is, for witness version 1, without
decode_op_n()
, the returned value will be 0x51. It worked for version 0 because 'small int' opcode is decoded as 0 --> 0; 0x51..0x60 --> 1..16The text was updated successfully, but these errors were encountered: