Skip to content

Commit 9272512

Browse files
committed
Bugfix: QA/Fuzzer: Mine an inital block for mini_miner to ensure mempool entries have a sane height
1 parent bf19342 commit 9272512

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/fuzz/mini_miner.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ void initialize_miner()
2626
{
2727
static const auto testing_setup = MakeNoLogFileContext<const TestingSetup>();
2828
g_setup = testing_setup.get();
29+
MineBlock(g_setup->m_node, CScript() << OP_FALSE);
2930
for (uint32_t i = 0; i < uint32_t{100}; ++i) {
3031
g_available_coins.emplace_back(Txid::FromUint256(uint256::ZERO), i);
3132
}

0 commit comments

Comments
 (0)