Browse Source
wallet.bump_fee: loosen sanity check a tiny bit
dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
SomberNight
6 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
1 additions and
1 deletions
-
electrum/wallet.py
|
|
@ -914,7 +914,7 @@ class Abstract_Wallet(AddressSynchronizer): |
|
|
|
method_used = 2 |
|
|
|
|
|
|
|
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}). " |
|
|
|
f"got {actual_new_fee_rate}, expected >={new_fee_rate}") |
|
|
|
|
|
|
|