mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
fuzz: version handshake
This commit is contained in:
parent
685c16fcb2
commit
fabce459bb
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue