aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_bumpfee.py
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2020-12-04 12:51:34 +0100
committerJon Atack <jon@atack.com>2021-05-09 12:49:56 +0200
commitb5033275979a2a495b02b25f70cadbdcc8b6eb6a (patch)
treea49ad225b9ac20750a5fa48767eb8d078c735091 /test/functional/wallet_bumpfee.py
parentc5fd4344f7fcc257062a610c8ff26ffcc9b53953 (diff)
downloadbitcoin-b5033275979a2a495b02b25f70cadbdcc8b6eb6a.tar.xz
test: type error and out of range fee rates where missing
Diffstat (limited to 'test/functional/wallet_bumpfee.py')
-rwxr-xr-xtest/functional/wallet_bumpfee.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/wallet_bumpfee.py b/test/functional/wallet_bumpfee.py
index 895db7d472..3d7d236dcf 100755
--- a/test/functional/wallet_bumpfee.py
+++ b/test/functional/wallet_bumpfee.py
@@ -122,6 +122,7 @@ class BumpFeeTest(BitcoinTestFramework):
assert_raises_rpc_error(-3, msg, rbf_node.bumpfee, rbfid, {"fee_rate": invalid_value})
# Test fee_rate out of range (negative number).
assert_raises_rpc_error(-3, "Amount out of range", rbf_node.bumpfee, rbfid, {"fee_rate": -1})
+ # Test type error.
for value in [{"foo": "bar"}, True]:
assert_raises_rpc_error(-3, "Amount is not a number or string", rbf_node.bumpfee, rbfid, {"fee_rate": value})