From 7f2fb78ded800659215199418f9ef12c6086edda Mon Sep 17 00:00:00 2001 From: Kittywhiskers Van Gogh <63189531+kittywhiskers@users.noreply.github.com> Date: Fri, 14 Jul 2023 12:27:01 +0000 Subject: [PATCH] fuzz: correct `FuzzedSock` implementation of `Sock` interface --- src/test/fuzz/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/fuzz/util.h b/src/test/fuzz/util.h index ef6851e5bc..7f39ba8943 100644 --- a/src/test/fuzz/util.h +++ b/src/test/fuzz/util.h @@ -617,7 +617,7 @@ public: 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(); }