git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8f090e1
)
fix
author
thomasv
<thomasv@gitorious>
Mon, 25 Feb 2013 18:04:41 +0000 (19:04 +0100)
committer
thomasv
<thomasv@gitorious>
Mon, 25 Feb 2013 18:04:41 +0000 (19:04 +0100)
lib/wallet.py
patch
|
blob
|
history
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
fb47a03
..
4ddc67b
100644
(file)
--- 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