mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
fuzz: correct FuzzedSock
implementation of Sock
interface
This commit is contained in:
parent
75d939b0be
commit
7f2fb78ded
@ -617,7 +617,7 @@ public:
|
|||||||
return random_bytes.size();
|
return random_bytes.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Wait(std::chrono::milliseconds timeout, Event requested) const override
|
bool Wait(std::chrono::milliseconds timeout, Event requested, Event* occurred = nullptr) const override
|
||||||
{
|
{
|
||||||
return m_fuzzed_data_provider.ConsumeBool();
|
return m_fuzzed_data_provider.ConsumeBool();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user