commit aa166dd9f0d32412bcf217335645d3f37c3dc3d0
parent f4df5ed9c76bf62789969f63e5610d79431094ab
Author: thomasv <thomasv@gitorious>
Date: Thu, 21 Feb 2013 15:36:38 +0100
fix p2sh test
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/bitcoin.py b/lib/bitcoin.py
@@ -348,9 +348,9 @@ def raw_tx( inputs, outputs, for_sig = None ):
script += inner_script
elif for_sig==i:
- pubkeys = txin.get('multisig_pubkeys')
+ pubkeys = txin.get('pubkeys')
if pubkeys:
- num = txin['multisig_num']
+ num = txin['p2sh_num']
script = multisig_script(pubkeys, num) # p2sh uses the inner script
else:
script = txin['raw_output_script'] # scriptsig