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_basic.py | |
parent | e191fac4f3c37820f0618f72f0a8e8b524531ab8 (diff) | |
download | bitcoin-923d24583d826f4c6ecad30b185e0e043ea11dfc.tar.xz |
test: use `sendall` when emptying wallet
Diffstat (limited to 'test/functional/wallet_basic.py')
-rwxr-xr-x | test/functional/wallet_basic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_basic.py b/test/functional/wallet_basic.py index ed603a2857..55c2a37fa7 100755 --- a/test/functional/wallet_basic.py +++ b/test/functional/wallet_basic.py @@ -587,7 +587,7 @@ class WalletTest(BitcoinTestFramework): # Get all non-zero utxos together chain_addrs = [self.nodes[0].getnewaddress(), self.nodes[0].getnewaddress()] - singletxid = self.nodes[0].sendtoaddress(chain_addrs[0], self.nodes[0].getbalance(), "", "", True) + singletxid = self.nodes[0].sendall(recipients=[chain_addrs[0]])['txid'] self.generate(self.nodes[0], 1, sync_fun=self.no_op) node0_balance = self.nodes[0].getbalance() # Split into two chains |