Skip to content

Commit 4df4df4

Browse files
committed
test: fix sync function in rpc_psbt.py
It currently only syncs between the first two nodes, which may do nothing when the block is created on the third node.
1 parent ce46000 commit 4df4df4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/rpc_psbt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def test_psbt_incomplete_after_invalid_modification(self):
8383
wallet = node.get_wallet_rpc(self.default_wallet_name)
8484
address = wallet.getnewaddress()
8585
wallet.sendtoaddress(address=address, amount=1.0)
86-
self.generate(node, nblocks=1, sync_fun=lambda: self.sync_all(self.nodes[:2]))
86+
self.generate(node, nblocks=1)
8787

8888
utxos = wallet.listunspent(addresses=[address])
8989
psbt = wallet.createpsbt([{"txid": utxos[0]["txid"], "vout": utxos[0]["vout"]}], [{wallet.getnewaddress(): 0.9999}])

0 commit comments

Comments
 (0)