From f97fe02e3a379b3b904d598187e310ac047a0ea8 Mon Sep 17 00:00:00 2001 From: ecdsa Date: Sun, 3 Mar 2013 19:29:03 +0100 Subject: [PATCH] fix: tx outputs --- lib/wallet.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/wallet.py b/lib/wallet.py index 3d063383..7e4ab1ff 100644 --- 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]) )