diff --git a/src/test/fuzz/util.cpp b/src/test/fuzz/util.cpp index f772bc01d8..b8d846a995 100644 --- a/src/test/fuzz/util.cpp +++ b/src/test/fuzz/util.cpp @@ -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; }