diff --git a/include/bitcoin/node/chasers/chaser_confirm.hpp b/include/bitcoin/node/chasers/chaser_confirm.hpp index 798c5607..76684561 100644 --- a/include/bitcoin/node/chasers/chaser_confirm.hpp +++ b/include/bitcoin/node/chasers/chaser_confirm.hpp @@ -69,8 +69,7 @@ class BCN_API chaser_confirm size_t top) NOEXCEPT; void announce(const header_link& link, height_t height) NOEXCEPT; - // These are thread safe. - const bool filter_; + // This is thread safe. const bool defer_; }; diff --git a/src/chasers/chaser_confirm.cpp b/src/chasers/chaser_confirm.cpp index d1fb50b7..86df17a2 100644 --- a/src/chasers/chaser_confirm.cpp +++ b/src/chasers/chaser_confirm.cpp @@ -35,7 +35,6 @@ BC_PUSH_WARNING(NO_THROW_IN_NOEXCEPT) chaser_confirm::chaser_confirm(full_node& node) NOEXCEPT : chaser(node), - filter_(node.archive().filter_enabled()), defer_(node.node_settings().defer_confirmation) { } @@ -144,7 +143,7 @@ void chaser_confirm::do_bumped(height_t) NOEXCEPT // Guarded by candidate interlock. size_t fork_point{}; const auto& query = archive(); - auto fork = query.get_validated_fork(fork_point, checkpoint(), filter_); + auto fork = query.get_validated_fork(fork_point, checkpoint()); // Fork may be empty if candidates were reorganized. if (fork.empty())