fix bug: to_address -> address
This commit is contained in:
parent
16a81271e4
commit
639ef7119d
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue