tfix #3960 - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit f1b757821838ec4496e9e978cca70cee222f98e9
DIR parent 55a0a6b7f032c99846c713f058d8dd4f550fed63
HTML Author: SomberNight <somber.night@protonmail.com>
Date: Sat, 24 Feb 2018 00:30:40 +0100
fix #3960
Diffstat:
M lib/wallet.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/lib/wallet.py b/lib/wallet.py
t@@ -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"