Skip to content

Commit 5ccfbb8

Browse files
committed
Adapt to get_validated_fork(...) database change.
1 parent c164dee commit 5ccfbb8

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

include/bitcoin/node/chasers/chaser_confirm.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ class BCN_API chaser_confirm
6969
size_t top) NOEXCEPT;
7070
void announce(const header_link& link, height_t height) NOEXCEPT;
7171

72-
// These are thread safe.
73-
const bool filter_;
72+
// This is thread safe.
7473
const bool defer_;
7574
};
7675

src/chasers/chaser_confirm.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ BC_PUSH_WARNING(NO_THROW_IN_NOEXCEPT)
3535

3636
chaser_confirm::chaser_confirm(full_node& node) NOEXCEPT
3737
: chaser(node),
38-
filter_(node.archive().filter_enabled()),
3938
defer_(node.node_settings().defer_confirmation)
4039
{
4140
}
@@ -144,7 +143,7 @@ void chaser_confirm::do_bumped(height_t) NOEXCEPT
144143
// Guarded by candidate interlock.
145144
size_t fork_point{};
146145
const auto& query = archive();
147-
auto fork = query.get_validated_fork(fork_point, checkpoint(), filter_);
146+
auto fork = query.get_validated_fork(fork_point, checkpoint());
148147

149148
// Fork may be empty if candidates were reorganized.
150149
if (fork.empty())

0 commit comments

Comments
 (0)