tfix: addressbook - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 1bba3ffbd7b1eb9ad4e3a0194c3ab1b3c083a462
DIR parent 41a2fa427f5dbaaefb435353ee9c99832389bc37
HTML Author: thomasv <thomasv@gitorious>
Date: Mon, 25 Feb 2013 18:17:02 +0100
fix: addressbook
Diffstat:
M lib/wallet.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/wallet.py b/lib/wallet.py
t@@ -336,7 +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']:
+ for o in tx.outputs:
addr = o.get('address')
if not self.is_mine(addr) and addr not in self.addressbook:
self.addressbook.append(addr)