fuzz: version handshake

This commit is contained in:
MarcoFalke
2021-01-10 17:00:43 +01:00
parent 685c16fcb2
commit fabce459bb
2 changed files with 2 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ void fuzz_target(FuzzBufferType buffer, const std::string& LIMIT_TO_MESSAGE_TYPE
}
CNode& p2p_node = *ConsumeNodeAsUniquePtr(fuzzed_data_provider).release();
const bool successfully_connected{true};
const bool successfully_connected{fuzzed_data_provider.ConsumeBool()};
p2p_node.fSuccessfullyConnected = successfully_connected;
connman.AddTestNode(p2p_node);
g_setup->m_node.peerman->InitializeNode(&p2p_node);