From b68f5645cbab180d0687b2b2e4f17adfe529191a Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 11 Apr 2018 18:31:35 +0200 Subject: [PATCH] fix #4254 --- lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wallet.py b/lib/wallet.py index 14529cb1c..9063e1423 100644 --- 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)