git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1bba3ff
)
fix
author
thomasv
<thomasv@gitorious>
Mon, 25 Feb 2013 17:50:12 +0000 (18:50 +0100)
committer
thomasv
<thomasv@gitorious>
Mon, 25 Feb 2013 17:50:12 +0000 (18:50 +0100)
lib/wallet.py
patch
|
blob
|
history
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
a33a25f
..
fb47a03
100644
(file)
--- a/
lib/wallet.py
+++ b/
lib/wallet.py
@@
-684,8
+684,7
@@
class Wallet:
self.addressbook.append(address)
if label:
- tx_hash = Hash(tx.decode('hex') )[::-1].encode('hex')
- self.labels[tx_hash] = label
+ self.labels[tx.hash()] = label
return tx