mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
test: wallet util: fix multisig P2SH-P2WSH script creation
This commit is contained in:
parent
9c3751a0c9
commit
61b6a017a9
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ def get_multisig(node):
|
|||
redeem_script=script_code.hex(),
|
||||
p2wsh_script=witness_script.hex(),
|
||||
p2wsh_addr=script_to_p2wsh(script_code),
|
||||
p2sh_p2wsh_script=CScript([OP_HASH160, witness_script, OP_EQUAL]).hex(),
|
||||
p2sh_p2wsh_script=CScript([OP_HASH160, hash160(witness_script), OP_EQUAL]).hex(),
|
||||
p2sh_p2wsh_addr=script_to_p2sh_p2wsh(script_code))
|
||||
|
||||
def test_address(node, address, **kwargs):
|
||||
|
|
Loading…
Add table
Reference in a new issue