mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-03 00:10:52 +02:00
test: Fix intermittent issue in wallet_send
This commit is contained in:
parent
faca3734c0
commit
faab86f6c8
@ -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]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user