electrum

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

commit 961b81ba4a68e96183e3f8935540ac04c8ac131c
parent 641177404dfa72eefe9f4b4cef74a6908fcb3a27
Author: ThomasV <thomasv@gitorious>
Date:   Sat, 23 Feb 2013 16:56:38 +0100

rm unneeded address

Diffstat:
Melectrum | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/electrum b/electrum @@ -744,7 +744,6 @@ if __name__ == '__main__': elif cmd == 'signrawtransaction': - from lib.bitcoin import * tx = Transaction(args[1]) txouts = ast.literal_eval(args[2]) if len(args)>2 else [] private_keys = ast.literal_eval(args[3]) if len(args)>3 else {} @@ -758,9 +757,6 @@ if __name__ == '__main__': for txout in txouts: if txout.get('txid') == txid and txout.get('vout') == index: - # compute addr from redeemScript - addr = hash_160_to_bc_address(hash_160(txout['redeemScript'].decode('hex')),5) - txin['address'] = addr txin['raw_output_script'] = txout['scriptPubKey'] txin['redeemScript'] = txout['redeemScript'] break