mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 17:01:34 +00:00
wallet.bump_fee: loosen sanity check a tiny bit
This commit is contained in:
parent
4f51308eab
commit
4c63eca896
1 changed files with 1 additions and 1 deletions
|
@ -914,7 +914,7 @@ class Abstract_Wallet(AddressSynchronizer):
|
||||||
method_used = 2
|
method_used = 2
|
||||||
|
|
||||||
actual_new_fee_rate = tx_new.get_fee() / tx_new.estimated_size()
|
actual_new_fee_rate = tx_new.get_fee() / tx_new.estimated_size()
|
||||||
if actual_new_fee_rate < quantize_feerate(new_fee_rate):
|
if quantize_feerate(actual_new_fee_rate) < quantize_feerate(new_fee_rate):
|
||||||
raise Exception(f"bump_fee feerate target was not met (method: {method_used}). "
|
raise Exception(f"bump_fee feerate target was not met (method: {method_used}). "
|
||||||
f"got {actual_new_fee_rate}, expected >={new_fee_rate}")
|
f"got {actual_new_fee_rate}, expected >={new_fee_rate}")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue