electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 5a121526e45a953bee51a34331634e2dcd1645f6
parent c51efc0afea97b40f1570d0c9834a853be13f573
Author: ThomasV <thomasv@gitorious>
Date:   Fri, 13 Sep 2013 22:13:17 +0200

fix

Diffstat:
Mlib/wallet.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/wallet.py b/lib/wallet.py @@ -619,7 +619,8 @@ class Wallet: if redeem_script: addr = hash_160_to_bc_address(hash_160(redeem_script.decode('hex')), 5) else: - addr = transaction.get_address_from_output_script(txin["raw_output_script"].decode('hex')) + import transaction + _, addr = transaction.get_address_from_output_script(txin["raw_output_script"].decode('hex')) txin['address'] = addr # add private keys that are in the wallet