git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
3b80ef7
)
add label to internal transactions
author
thomasv
<thomasv@gitorious>
Thu, 14 Mar 2013 12:08:50 +0000 (13:08 +0100)
committer
thomasv
<thomasv@gitorious>
Thu, 14 Mar 2013 12:08:50 +0000 (13:08 +0100)
lib/wallet.py
patch
|
blob
|
history
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
070a337
..
3814cd2
100644
(file)
--- a/
lib/wallet.py
+++ b/
lib/wallet.py
@@
-722,6
+722,9
@@
class Wallet:
default_label = self.labels[o_addr]
except KeyError:
default_label = o_addr
+ break
+ else:
+ default_label = '(internal)'
else:
for o in tx.outputs:
o_addr, _ = o