tfix - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit fd8687ce182e1ee889ab6d29868152cb2b1a76b9 DIR parent 8f090e1d01c16f0410f3170433d38d9b3e0fde80 HTML Author: thomasv <thomasv@gitorious> Date: Mon, 25 Feb 2013 19:04:41 +0100 fix Diffstat: M lib/wallet.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -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