This commit is contained in:
thomasv 2013-02-25 18:50:12 +01:00
parent 1bba3ffbd7
commit 8f090e1d01
1 changed files with 1 additions and 2 deletions

View File

@ -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