mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-30 18:51:15 +02:00
test: Fix intermittent issue in wallet_send
This commit is contained in:
@ -316,6 +316,7 @@ class WalletSendTest(BitcoinTestFramework):
|
|||||||
res = self.nodes[0].sendrawtransaction(hex)
|
res = self.nodes[0].sendrawtransaction(hex)
|
||||||
self.nodes[0].generate(1)
|
self.nodes[0].generate(1)
|
||||||
assert_equal(self.nodes[0].gettransaction(txid)["confirmations"], 1)
|
assert_equal(self.nodes[0].gettransaction(txid)["confirmations"], 1)
|
||||||
|
self.sync_all()
|
||||||
|
|
||||||
self.log.info("Lock unspents...")
|
self.log.info("Lock unspents...")
|
||||||
utxo1 = w0.listunspent()[0]
|
utxo1 = w0.listunspent()[0]
|
||||||
|
Reference in New Issue
Block a user