mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-10 11:33:46 +02:00
test: use sendall
when emptying wallet
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user