aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2020-10-24 19:48:04 +0200
committerJon Atack <jon@atack.com>2020-10-25 00:35:38 +0200
commitfc5721723d34f76f9e1ffd2e31f274ea6b22f894 (patch)
tree83da373059ecdf20290f7b7a8ba76a4971fd1fc1 /test/functional
parent052427eef1c9da84c474c5161b1910d3328ef0da (diff)
wallet: fix SetFeeEstimateMode() error message
to clarify for the user the confusing error message that the missing fee rate needs to be set in the conf_target param/option.
Diffstat (limited to 'test/functional')
-rwxr-xr-xtest/functional/wallet_basic.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/wallet_basic.py b/test/functional/wallet_basic.py
index 689a0fa4df..7edcf41bea 100755
--- a/test/functional/wallet_basic.py
+++ b/test/functional/wallet_basic.py
@@ -228,7 +228,7 @@ class WalletTest(BitcoinTestFramework):
# Sendmany with explicit fee (BTC/kB)
# Throw if no conf_target provided
- assert_raises_rpc_error(-8, "Selected estimate_mode requires a fee rate",
+ assert_raises_rpc_error(-8, "Selected estimate_mode bTc/kB requires a fee rate to be specified in conf_target",
self.nodes[2].sendmany,
amounts={ address: 10 },
estimate_mode='bTc/kB')
@@ -254,7 +254,7 @@ class WalletTest(BitcoinTestFramework):
# Sendmany with explicit fee (SAT/B)
# Throw if no conf_target provided
- assert_raises_rpc_error(-8, "Selected estimate_mode requires a fee rate",
+ assert_raises_rpc_error(-8, "Selected estimate_mode sat/b requires a fee rate to be specified in conf_target",
self.nodes[2].sendmany,
amounts={ address: 10 },
estimate_mode='sat/b')
@@ -421,7 +421,7 @@ class WalletTest(BitcoinTestFramework):
assert prebalance > 2
address = self.nodes[1].getnewaddress()
# Throw if no conf_target provided
- assert_raises_rpc_error(-8, "Selected estimate_mode requires a fee rate",
+ assert_raises_rpc_error(-8, "Selected estimate_mode BTc/Kb requires a fee rate to be specified in conf_target",
self.nodes[2].sendtoaddress,
address=address,
amount=1.0,
@@ -455,7 +455,7 @@ class WalletTest(BitcoinTestFramework):
assert prebalance > 2
address = self.nodes[1].getnewaddress()
# Throw if no conf_target provided
- assert_raises_rpc_error(-8, "Selected estimate_mode requires a fee rate",
+ assert_raises_rpc_error(-8, "Selected estimate_mode SAT/b requires a fee rate to be specified in conf_target",
self.nodes[2].sendtoaddress,
address=address,
amount=1.0,