fix bug: to_address -> address

This commit is contained in:
thomasv 2012-12-06 10:36:05 +01:00
parent 16a81271e4
commit 639ef7119d
1 changed files with 1 additions and 1 deletions

View File

@ -783,7 +783,7 @@ class Wallet:
for address, x in outputs:
if address not in self.addressbook and not self.is_mine(address):
self.addressbook.append(to_address)
self.addressbook.append(address)
if label:
tx_hash = Hash(tx.decode('hex') )[::-1].encode('hex')