mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 17:01:34 +00:00
fix p2sh test
This commit is contained in:
parent
f4df5ed9c7
commit
aa166dd9f0
1 changed files with 2 additions and 2 deletions
|
@ -348,9 +348,9 @@ def raw_tx( inputs, outputs, for_sig = None ):
|
||||||
script += inner_script
|
script += inner_script
|
||||||
|
|
||||||
elif for_sig==i:
|
elif for_sig==i:
|
||||||
pubkeys = txin.get('multisig_pubkeys')
|
pubkeys = txin.get('pubkeys')
|
||||||
if pubkeys:
|
if pubkeys:
|
||||||
num = txin['multisig_num']
|
num = txin['p2sh_num']
|
||||||
script = multisig_script(pubkeys, num) # p2sh uses the inner script
|
script = multisig_script(pubkeys, num) # p2sh uses the inner script
|
||||||
else:
|
else:
|
||||||
script = txin['raw_output_script'] # scriptsig
|
script = txin['raw_output_script'] # scriptsig
|
||||||
|
|
Loading…
Add table
Reference in a new issue