From 410e471fa42d3db04e8879c71f8c824dcc151a83 Mon Sep 17 00:00:00 2001 From: Jon Atack Date: Mon, 9 Nov 2020 15:00:31 +0100 Subject: wallet: remove redundant bumpfee fee_rate checks SetFeeEstimateMode() handles these checks now and provides a more actionable error message. --- test/functional/wallet_bumpfee.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/functional/wallet_bumpfee.py b/test/functional/wallet_bumpfee.py index 5f76c78198..b9726ccfc3 100755 --- a/test/functional/wallet_bumpfee.py +++ b/test/functional/wallet_bumpfee.py @@ -111,7 +111,7 @@ class BumpFeeTest(BitcoinTestFramework): rbf_node.bumpfee, rbfid, {"fee_rate": INSUFFICIENT}) self.log.info("Test invalid fee rate settings") - assert_raises_rpc_error(-8, "Invalid fee_rate 0.00000000 BTC/kB (must be greater than 0)", + assert_raises_rpc_error(-8, "Insufficient total fee 0.00, must be at least 0.00001704 (oldFee 0.00000999 + incrementalFee 0.00000705)", rbf_node.bumpfee, rbfid, {"fee_rate": 0}) assert_raises_rpc_error(-4, "Specified or calculated fee 0.141 is too high (cannot be higher than -maxtxfee 0.10", rbf_node.bumpfee, rbfid, {"fee_rate": TOO_HIGH}) -- cgit v1.2.3