fix #4254
This commit is contained in:
@@ -604,7 +604,7 @@ class Abstract_Wallet(PrintError):
|
|||||||
status = _('Unconfirmed')
|
status = _('Unconfirmed')
|
||||||
if fee is None:
|
if fee is None:
|
||||||
fee = self.tx_fees.get(tx_hash)
|
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()
|
size = tx.estimated_size()
|
||||||
fee_per_byte = fee / size
|
fee_per_byte = fee / size
|
||||||
exp_n = self.network.config.fee_to_depth(fee_per_byte)
|
exp_n = self.network.config.fee_to_depth(fee_per_byte)
|
||||||
|
|||||||
Reference in New Issue
Block a user