fix #3960
This commit is contained in:
parent
55a0a6b7f0
commit
f1b7578218
@ -463,10 +463,10 @@ class Abstract_Wallet(PrintError):
|
|||||||
return height, conf, timestamp
|
return height, conf, timestamp
|
||||||
elif tx_hash in self.unverified_tx:
|
elif tx_hash in self.unverified_tx:
|
||||||
height = self.unverified_tx[tx_hash]
|
height = self.unverified_tx[tx_hash]
|
||||||
return height, 0, False
|
return height, 0, None
|
||||||
else:
|
else:
|
||||||
# local transaction
|
# local transaction
|
||||||
return TX_HEIGHT_LOCAL, 0, False
|
return TX_HEIGHT_LOCAL, 0, None
|
||||||
|
|
||||||
def get_txpos(self, tx_hash):
|
def get_txpos(self, tx_hash):
|
||||||
"return position, even if the tx is unverified"
|
"return position, even if the tx is unverified"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user