commit fd8687ce182e1ee889ab6d29868152cb2b1a76b9
parent 8f090e1d01c16f0410f3170433d38d9b3e0fde80
Author: thomasv <thomasv@gitorious>
Date: Mon, 25 Feb 2013 19:04:41 +0100
fix
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -336,8 +336,7 @@ class Wallet:
for tx_hash, tx in self.transactions.items():
is_send, _, _ = self.get_tx_value(tx)
if is_send:
- for o in tx.outputs:
- addr = o.get('address')
+ for addr, v in tx.outputs:
if not self.is_mine(addr) and addr not in self.addressbook:
self.addressbook.append(addr)
# redo labels