commit b68f5645cbab180d0687b2b2e4f17adfe529191a
parent 75f02216179a567b5ffdb53ee4bfa541be000fc0
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 11 Apr 2018 18:31:35 +0200
fix #4254
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -604,7 +604,7 @@ class Abstract_Wallet(PrintError):
status = _('Unconfirmed')
if fee is None:
fee = self.tx_fees.get(tx_hash)
- if fee and self.network.config.has_fee_mempool():
+ if fee and self.network and self.network.config.has_fee_mempool():
size = tx.estimated_size()
fee_per_byte = fee / size
exp_n = self.network.config.fee_to_depth(fee_per_byte)