aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_groups.py
diff options
context:
space:
mode:
authorbrunoerg <brunoely.gc@gmail.com>2022-08-29 14:33:16 -0300
committerbrunoerg <brunoely.gc@gmail.com>2022-08-30 09:52:15 -0300
commit923d24583d826f4c6ecad30b185e0e043ea11dfc (patch)
tree487826175d33408076184f757448b9f05926effc /test/functional/wallet_groups.py
parente191fac4f3c37820f0618f72f0a8e8b524531ab8 (diff)
test: use `sendall` when emptying wallet
Diffstat (limited to 'test/functional/wallet_groups.py')
-rwxr-xr-xtest/functional/wallet_groups.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_groups.py b/test/functional/wallet_groups.py
index 866c411dba..9f0f694a3e 100755
--- a/test/functional/wallet_groups.py
+++ b/test/functional/wallet_groups.py
@@ -154,7 +154,7 @@ class WalletGroupTest(BitcoinTestFramework):
assert_equal(2, len(tx6["vout"]))
# Empty out node2's wallet
- self.nodes[2].sendtoaddress(address=self.nodes[0].getnewaddress(), amount=self.nodes[2].getbalance(), subtractfeefromamount=True)
+ self.nodes[2].sendall(recipients=[self.nodes[0].getnewaddress()])
self.sync_all()
self.generate(self.nodes[0], 1)