mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 06:52:36 +01:00
fuzz: use ConsumeBool() instead of !ConsumeBool()
The former is shorter and ends up with a "random" bool anyway.
This commit is contained in:
parent
29ae1c13a5
commit
549c82ad3a
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ bool FuzzedSock::Wait(std::chrono::milliseconds timeout, Event requested, Event*
|
|||
EINTR,
|
||||
EINVAL,
|
||||
};
|
||||
if (!m_fuzzed_data_provider.ConsumeBool()) {
|
||||
if (m_fuzzed_data_provider.ConsumeBool()) {
|
||||
SetFuzzedErrNo(m_fuzzed_data_provider, wait_errnos);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue