fuzz: Initialize a full TestingSetup where appropriate

A full TestingSetup is required for both coins_view and
load_external_block_file as they interact with the active chainstate.
This commit is contained in:
Carl Dong
2021-01-15 15:59:06 -05:00
parent 713314abfa
commit abb6fa7285
2 changed files with 2 additions and 4 deletions

View File

@@ -15,7 +15,7 @@
void initialize_load_external_block_file()
{
static const auto testing_setup = MakeFuzzingContext<>();
static const auto testing_setup = MakeFuzzingContext<const TestingSetup>();
}
FUZZ_TARGET_INIT(load_external_block_file, initialize_load_external_block_file)