move-only: InitializeNode to handshake helper

This commit is contained in:
MacroFake 2022-07-11 18:07:53 +02:00
parent fa7098947c
commit fa4be8e7c3
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
5 changed files with 6 additions and 6 deletions

View file

@ -289,7 +289,7 @@ bool FuzzedSock::IsConnected(std::string& errmsg) const
return false;
}
void FillNode(FuzzedDataProvider& fuzzed_data_provider, ConnmanTestMsg& connman, PeerManager& peerman, CNode& node) noexcept
void FillNode(FuzzedDataProvider& fuzzed_data_provider, ConnmanTestMsg& connman, CNode& node) noexcept
{
connman.Handshake(node,
/*successfully_connected=*/fuzzed_data_provider.ConsumeBool(),