test: fix intermittent issue in feature_bip68_sequence
To avoid `bad-txns-premature-spend-of-coinbase` error, when getting a utxo (using `get_utxo`) to create a new transaction `get_utxo` shouldn't return by default immature coinbase.
This commit is contained in:
1 parent
7be7e62fdf
commit
60ced9007d
3 files changed
+5
-2
No files matched your search
@@ -191,6 +191,7 @@ class MempoolPersistTest(BitcoinTestFramework):
|
||||
def test_persist_unbroadcast(self):
|
||||
node0 = self.nodes[0]
|
||||
self.start_node(0)
|
||||
self.start_node(2)
|
||||
|
||||
# clear out mempool
|
||||
self.generate(node0, 1, sync_fun=self.no_op)
|
||||
|
||||
Reference in new issue
Block a user