commit f97fe02e3a379b3b904d598187e310ac047a0ea8
parent 703c2c0895295bfc50ce6d9f7b155660c8f6ff36
Author: ecdsa <ecdsa@github>
Date: Sun, 3 Mar 2013 19:29:03 +0100
fix: tx outputs
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -1084,8 +1084,7 @@ class Wallet:
print_error("new history is orphaning transaction:", tx_hash)
# check that all outputs are not mine, request histories
ext_requests = []
- for o in tx.get('outputs'):
- _addr = o.get('address')
+ for _addr, _v in tx.outputs:
# assert not self.is_mine(_addr)
ext_requests.append( ('blockchain.address.get_history', [_addr]) )