mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-31 10:41:08 +00:00
fuzz: add CConnman::SocketHandler() to the tests
This commit is contained in:
parent
3265df63a4
commit
6d9e5d130d
@ -206,6 +206,9 @@ FUZZ_TARGET(connman, .init = initialize_connman)
|
||||
options.onion_binds.empty();
|
||||
|
||||
connman.InitBindsPublic(options);
|
||||
},
|
||||
[&] {
|
||||
connman.SocketHandlerPublic();
|
||||
});
|
||||
}
|
||||
(void)connman.GetAddedNodeInfo(fuzzed_data_provider.ConsumeBool());
|
||||
|
||||
@ -81,6 +81,11 @@ struct ConnmanTestMsg : public CConnman {
|
||||
return InitBinds(options);
|
||||
}
|
||||
|
||||
void SocketHandlerPublic()
|
||||
{
|
||||
SocketHandler();
|
||||
}
|
||||
|
||||
void Handshake(CNode& node,
|
||||
bool successfully_connected,
|
||||
ServiceFlags remote_services,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user