tminor fix tx status - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit e38abb95d7d6edbad9876960467790f050c82535
DIR parent c820423b00553913024ff8c2f54ac2fd5e3a9b89
HTML Author: ThomasV <thomasv@electrum.org>
Date: Wed, 31 Aug 2016 18:45:58 +0200
minor fix tx status
Diffstat:
M lib/wallet.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/wallet.py b/lib/wallet.py
t@@ -767,7 +767,7 @@ class Abstract_Wallet(PrintError):
is_lowfee = fee < low_fee * 0.5
else:
is_lowfee = False
- if not is_final:
+ if height==0 and not is_final:
status = 0
elif height < 0:
status = 1