aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lodder <[email protected]>2021-08-16 00:11:04 +0200
committerPatrick Lodder <[email protected]>2021-08-16 00:17:20 +0200
commit07be86c14772b6c1cf660772c0fbfaf2cf256aaa (patch)
treebf1977b415cc973a80cbc0191163a1455706e2b2
parentfees: remove careless override of -paytxfee in GetMinimumFee (diff)
downloaddiscoin-07be86c14772b6c1cf660772c0fbfaf2cf256aaa.tar.xz
discoin-07be86c14772b6c1cf660772c0fbfaf2cf256aaa.zip
qa: fix bumpfee now that paytxfee works
-rwxr-xr-xqa/rpc-tests/bumpfee.py7
1 files 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):