mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-28 06:50:38 +01:00
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:
@@ -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