diff options
author | brunoerg <brunoely.gc@gmail.com> | 2022-08-29 14:33:16 -0300 |
---|---|---|
committer | brunoerg <brunoely.gc@gmail.com> | 2022-08-30 09:52:15 -0300 |
commit | 923d24583d826f4c6ecad30b185e0e043ea11dfc (patch) | |
tree | 487826175d33408076184f757448b9f05926effc /test/functional/wallet_bumpfee.py | |
parent | e191fac4f3c37820f0618f72f0a8e8b524531ab8 (diff) | |
download | bitcoin-923d24583d826f4c6ecad30b185e0e043ea11dfc.tar.xz |
test: use `sendall` when emptying wallet
Diffstat (limited to 'test/functional/wallet_bumpfee.py')
-rwxr-xr-x | test/functional/wallet_bumpfee.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_bumpfee.py b/test/functional/wallet_bumpfee.py index bd3943d66b..f4ae697292 100755 --- a/test/functional/wallet_bumpfee.py +++ b/test/functional/wallet_bumpfee.py @@ -624,7 +624,7 @@ def test_no_more_inputs_fails(self, rbf_node, dest_address): # feerate rbf requires confirmed outputs when change output doesn't exist or is insufficient self.generatetoaddress(rbf_node, 1, dest_address) # spend all funds, no change output - rbfid = rbf_node.sendtoaddress(rbf_node.getnewaddress(), rbf_node.getbalance(), "", "", True) + rbfid = rbf_node.sendall(recipients=[rbf_node.getnewaddress()])['txid'] assert_raises_rpc_error(-4, "Unable to create transaction. Insufficient funds", rbf_node.bumpfee, rbfid) self.clear_mempool() |