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:
|
for address, x in outputs:
|
||||||
if address not in self.addressbook and not self.is_mine(address):
|
if address not in self.addressbook and not self.is_mine(address):
|
||||||
self.addressbook.append(to_address)
|
self.addressbook.append(address)
|
||||||
|
|
||||||
if label:
|
if label:
|
||||||
tx_hash = Hash(tx.decode('hex') )[::-1].encode('hex')
|
tx_hash = Hash(tx.decode('hex') )[::-1].encode('hex')
|
||||||
|
|
Loading…
Reference in New Issue