electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 4c63eca896019a720f052a91a34a47142d5be43c
parent 4f51308eab65c82b90536110b60aeea588a3d657
Author: SomberNight <somber.night@protonmail.com>
Date:   Sat, 29 Jun 2019 16:22:37 +0200

wallet.bump_fee: loosen sanity check a tiny bit

Diffstat:
Melectrum/wallet.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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}")