diff options
| author | Sjors Provoost <[email protected]> | 2020-02-24 20:12:50 +0100 |
|---|---|---|
| committer | Sjors Provoost <[email protected]> | 2020-06-19 11:17:06 +0200 |
| commit | 08fc6f6cfc3b06fd170452a766696d7b833113fa (patch) | |
| tree | b01e74a4bfc6d320fa2965944b4a71c8196ab3ad /test/functional/wallet_fallbackfee.py | |
| parent | Merge #19322: [net] split PushInventory() (diff) | |
| download | discoin-08fc6f6cfc3b06fd170452a766696d7b833113fa.tar.xz discoin-08fc6f6cfc3b06fd170452a766696d7b833113fa.zip | |
[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 0c67982bb..dbf853b35 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})) |