aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_bumpfee.py
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2020-12-04 11:22:34 +0100
committerJon Atack <jon@atack.com>2020-12-04 22:35:31 +0100
commit6fa72ceb8021c3b5aea62f6cfe92665c29212923 (patch)
treebde2ff02433b8ff4a40d14390801171c8cc81d63 /test/functional/wallet_bumpfee.py
parentce207d6b93d35bc02fcd2dd28f1fd95869261d43 (diff)
downloadbitcoin-6fa72ceb8021c3b5aea62f6cfe92665c29212923.tar.xz
test: add coverage for passing fee rate as a string
Diffstat (limited to 'test/functional/wallet_bumpfee.py')
-rwxr-xr-xtest/functional/wallet_bumpfee.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_bumpfee.py b/test/functional/wallet_bumpfee.py
index 99c9737258..c8c1f2e374 100755
--- a/test/functional/wallet_bumpfee.py
+++ b/test/functional/wallet_bumpfee.py
@@ -149,7 +149,7 @@ def test_simple_bumpfee_succeeds(self, mode, rbf_node, peer_node, dest_address):
self.sync_mempools((rbf_node, peer_node))
assert rbfid in rbf_node.getrawmempool() and rbfid in peer_node.getrawmempool()
if mode == "fee_rate":
- bumped_psbt = rbf_node.psbtbumpfee(rbfid, {"fee_rate": NORMAL})
+ bumped_psbt = rbf_node.psbtbumpfee(rbfid, {"fee_rate": str(NORMAL)})
bumped_tx = rbf_node.bumpfee(rbfid, {"fee_rate": NORMAL})
else:
bumped_psbt = rbf_node.psbtbumpfee(rbfid)