From 8f090e1d01c16f0410f3170433d38d9b3e0fde80 Mon Sep 17 00:00:00 2001 From: thomasv Date: Mon, 25 Feb 2013 18:50:12 +0100 Subject: [PATCH] fix --- lib/wallet.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/wallet.py b/lib/wallet.py index a33a25f7..fb47a035 100644 --- 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