diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2020-02-24 20:12:50 +0100 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2020-06-19 11:17:06 +0200 |
commit | 08fc6f6cfc3b06fd170452a766696d7b833113fa (patch) | |
tree | b01e74a4bfc6d320fa2965944b4a71c8196ab3ad /test/functional/wallet_fallbackfee.py | |
parent | 0101110f9b64fec4ee19882c4fdb5f6cd941cdfa (diff) |
[rpc] refactor: consolidate sendmany and sendtoaddress code
The only new behavior is some error codes are changed from -4 to -6.
Diffstat (limited to 'test/functional/wallet_fallbackfee.py')
-rwxr-xr-x | test/functional/wallet_fallbackfee.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_fallbackfee.py b/test/functional/wallet_fallbackfee.py index 0c67982bbe..dbf853b35c 100755 --- a/test/functional/wallet_fallbackfee.py +++ b/test/functional/wallet_fallbackfee.py @@ -22,7 +22,7 @@ class WalletRBFTest(BitcoinTestFramework): # test sending a tx with disabled fallback fee (must fail) self.restart_node(0, extra_args=["-fallbackfee=0"]) - assert_raises_rpc_error(-4, "Fee estimation failed", lambda: self.nodes[0].sendtoaddress(self.nodes[0].getnewaddress(), 1)) + assert_raises_rpc_error(-6, "Fee estimation failed", lambda: self.nodes[0].sendtoaddress(self.nodes[0].getnewaddress(), 1)) assert_raises_rpc_error(-4, "Fee estimation failed", lambda: self.nodes[0].fundrawtransaction(self.nodes[0].createrawtransaction([], {self.nodes[0].getnewaddress(): 1}))) assert_raises_rpc_error(-6, "Fee estimation failed", lambda: self.nodes[0].sendmany("", {self.nodes[0].getnewaddress(): 1})) |