SomberNight 7 years ago
parent
commit
b68f5645cb
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      lib/wallet.py

2
lib/wallet.py

@ -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)

Loading…
Cancel
Save