test: Fix intermittent issue in wallet_send

This commit is contained in:
MarcoFalke 2020-10-18 11:04:32 +02:00
parent faca3734c0
commit faab86f6c8
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -316,6 +316,7 @@ class WalletSendTest(BitcoinTestFramework):
res = self.nodes[0].sendrawtransaction(hex)
self.nodes[0].generate(1)
assert_equal(self.nodes[0].gettransaction(txid)["confirmations"], 1)
self.sync_all()
self.log.info("Lock unspents...")
utxo1 = w0.listunspent()[0]