commit f1b757821838ec4496e9e978cca70cee222f98e9
parent 55a0a6b7f032c99846c713f058d8dd4f550fed63
Author: SomberNight <somber.night@protonmail.com>
Date: Sat, 24 Feb 2018 00:30:40 +0100
fix #3960
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -463,10 +463,10 @@ class Abstract_Wallet(PrintError):
return height, conf, timestamp
elif tx_hash in self.unverified_tx:
height = self.unverified_tx[tx_hash]
- return height, 0, False
+ return height, 0, None
else:
# local transaction
- return TX_HEIGHT_LOCAL, 0, False
+ return TX_HEIGHT_LOCAL, 0, None
def get_txpos(self, tx_hash):
"return position, even if the tx is unverified"