tfix - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 8f090e1d01c16f0410f3170433d38d9b3e0fde80
DIR parent 1bba3ffbd7b1eb9ad4e3a0194c3ab1b3c083a462
HTML Author: thomasv <thomasv@gitorious>
Date: Mon, 25 Feb 2013 18:50:12 +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@@ -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