Browse Source

Merge #507: Made P2WSH_PRE be the correct value

42d8780 Made P2WSH_PRE be the correct value (chris-belcher)

Tree-SHA512: 1d1e27f22a7bf4baa23b93fde7a468a89b2b3101d260b9949088032284545800aef90b6df39fbfe5d1ce71cb62f0594180857a2b6e59b05000805076f67e51d5
master
chris-belcher 6 years ago
parent
commit
01b9d23121
No known key found for this signature in database
GPG Key ID: EF734EA677F31129
  1. 4
      jmbitcoin/jmbitcoin/secp256k1_transaction.py

4
jmbitcoin/jmbitcoin/secp256k1_transaction.py

@ -17,7 +17,7 @@ from jmbitcoin.bech32 import *
P2PKH_PRE, P2PKH_POST = b'\x76\xa9\x14', b'\x88\xac'
P2SH_P2WPKH_PRE, P2SH_P2WPKH_POST = b'\xa9\x14', b'\x87'
P2WPKH_PRE = b'\x00\x14'
P2WSH_PRE = b'\x00\x16'
P2WSH_PRE = b'\x00\x20'
# Transaction serialization and deserialization
@ -884,4 +884,4 @@ def make_shuffled_tx(ins, outs, deser=True, version=1, locktime=0):
if deser:
return deserialize(tx)
else:
return tx
return tx

Loading…
Cancel
Save