Skip to content

Commit

Permalink
Bugfix: QA/Fuzzer: Mine an inital block for mini_miner to ensure memp…
Browse files Browse the repository at this point in the history
…ool entries have a sane height
  • Loading branch information
luke-jr committed Mar 15, 2024
1 parent 09d7c5c commit bb469d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/fuzz/mini_miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ void initialize_miner()
{
static const auto testing_setup = MakeNoLogFileContext<const TestingSetup>();
g_setup = testing_setup.get();
MineBlock(g_setup->m_node, CScript() << OP_FALSE);
for (uint32_t i = 0; i < uint32_t{100}; ++i) {
g_available_coins.emplace_back(uint256::ZERO, i);
}
Expand Down

0 comments on commit bb469d7

Please sign in to comment.