tfollow-up f39f43d58c403e54209316834a99f5602022a9cd - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 245cd24f34ac6250150c92bd619dd4c84f644895 DIR parent 73cc1293f102cb26a7a1600f559f6c74cb6d0e9a HTML Author: SomberNight <somber.night@protonmail.com> Date: Mon, 5 Feb 2018 20:13:05 +0100 follow-up f39f43d58c403e54209316834a99f5602022a9cd 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@@ -863,7 +863,7 @@ class Abstract_Wallet(PrintError): if conf == 0: tx = self.transactions.get(tx_hash) if not tx: - return 3, 'unknown' + return 2, 'unknown' is_final = tx and tx.is_final() fee = self.tx_fees.get(tx_hash) if fee and self.network and self.network.config.has_fee_mempool(): t@@ -871,7 +871,7 @@ class Abstract_Wallet(PrintError): fee_per_kb = fee * 1000 / size exp_n = self.network.config.fee_to_depth(fee_per_kb//1000) if height == TX_HEIGHT_LOCAL: - status = 5 + status = 4 elif height == TX_HEIGHT_UNCONF_PARENT: status = 1 elif height == TX_HEIGHT_UNCONFIRMED and not is_final: