From 9be8f80288eb06576cdf1bb6ab0d6aec2e3f880e Mon Sep 17 00:00:00 2001 From: evoskuil Date: Wed, 13 May 2026 17:58:36 -0400 Subject: [PATCH] Style. --- include/bitcoin/node/chasers/chaser_check.hpp | 2 +- src/chasers/chaser_check.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/bitcoin/node/chasers/chaser_check.hpp b/include/bitcoin/node/chasers/chaser_check.hpp index cf5a6a6b..d27025a7 100644 --- a/include/bitcoin/node/chasers/chaser_check.hpp +++ b/include/bitcoin/node/chasers/chaser_check.hpp @@ -80,7 +80,7 @@ class BCN_API chaser_check const network::result_handler& handler) NOEXCEPT; private: - static constexpr size_t minimum_for_standard_deviation = 3; + static constexpr size_t minimum_for_standard_deviation = 4; typedef std::unordered_map speeds; typedef std::deque maps; diff --git a/src/chasers/chaser_check.cpp b/src/chasers/chaser_check.cpp index 15f5f5b4..79bb704a 100644 --- a/src/chasers/chaser_check.cpp +++ b/src/chasers/chaser_check.cpp @@ -292,7 +292,7 @@ void chaser_check::do_update(object_key channel, uint64_t speed, // Three elements are required to measure deviation, don't drop below. const auto count = speeds_.size(); - if (count <= minimum_for_standard_deviation) + if (count < minimum_for_standard_deviation) { handler(error::success); return;