From 4c63eca896019a720f052a91a34a47142d5be43c Mon Sep 17 00:00:00 2001 From: SomberNight Date: Sat, 29 Jun 2019 16:22:37 +0200 Subject: [PATCH] wallet.bump_fee: loosen sanity check a tiny bit --- electrum/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/wallet.py b/electrum/wallet.py index 0e087d678..92ae99f5e 100644 --- a/electrum/wallet.py +++ b/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}")