From 07be86c14772b6c1cf660772c0fbfaf2cf256aaa Mon Sep 17 00:00:00 2001 From: Patrick Lodder Date: Mon, 16 Aug 2021 00:11:04 +0200 Subject: [PATCH] qa: fix bumpfee now that paytxfee works --- qa/rpc-tests/bumpfee.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/qa/rpc-tests/bumpfee.py b/qa/rpc-tests/bumpfee.py index b23761b06..20a683922 100755 --- a/qa/rpc-tests/bumpfee.py +++ b/qa/rpc-tests/bumpfee.py @@ -210,9 +210,10 @@ def test_rebumping(rbf_node, dest_address): # check that re-bumping the original tx fails, but bumping the bumper succeeds rbf_node.settxfee(Decimal("10.00000000")) rbfid = create_fund_sign_send(rbf_node, {dest_address: 7.00000000}) - bumped = rbf_node.bumpfee(rbfid, {"totalFee": 150000000}) - assert_raises_jsonrpc(-4, "already bumped", rbf_node.bumpfee, rbfid, {"totalFee": 2000}) - rbf_node.bumpfee(bumped["txid"], {"totalFee": 200000000}) + bumped = rbf_node.bumpfee(rbfid, {"totalFee": 1050000000}) + assert_raises_jsonrpc(-4, "already bumped", rbf_node.bumpfee, rbfid, {"totalFee": 11000}) + rbf_node.bumpfee(bumped["txid"], {"totalFee": 1100000000}) + rbf_node.settxfee(Decimal("0.00000000")) def test_rebumping_not_replaceable(rbf_node, dest_address):