URI: 
       tfix p2sh test - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit aa166dd9f0d32412bcf217335645d3f37c3dc3d0
   DIR parent f4df5ed9c76bf62789969f63e5610d79431094ab
  HTML Author: thomasv <thomasv@gitorious>
       Date:   Thu, 21 Feb 2013 15:36:38 +0100
       
       fix p2sh test
       
       Diffstat:
         M lib/bitcoin.py                      |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/lib/bitcoin.py b/lib/bitcoin.py
       t@@ -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