File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,12 @@ HeadersSyncSetup* g_testing_setup;
150150
151151void initialize ()
152152{
153- static auto setup = MakeNoLogFileContext<HeadersSyncSetup>(ChainType::MAIN);
153+ static auto setup{
154+ MakeNoLogFileContext<HeadersSyncSetup>(ChainType::MAIN,
155+ {
156+ .setup_validation_interface = false ,
157+ }),
158+ };
154159 g_testing_setup = setup.get ();
155160}
156161} // namespace
@@ -236,6 +241,4 @@ FUZZ_TARGET(p2p_headers_presync, .init = initialize)
236241 // to meet the anti-DoS work threshold. So, if at any point the block index grew in size, then there's a bug
237242 // in the headers pre-sync logic.
238243 assert (WITH_LOCK (cs_main, return chainman.m_blockman .m_block_index .size ()) == original_index_size);
239-
240- g_testing_setup->m_node .validation_signals ->SyncWithValidationInterfaceQueue ();
241244}
You can’t perform that action at this time.
0 commit comments