We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b87f36 commit d656cf7Copy full SHA for d656cf7
src/chasers/chaser_confirm.cpp
@@ -133,7 +133,6 @@ void chaser_confirm::do_bump(height_t) NOEXCEPT
133
void chaser_confirm::do_bumped(height_t) NOEXCEPT
134
{
135
BC_ASSERT(stranded());
136
- const auto& query = archive();
137
138
if (closed())
139
return;
@@ -144,6 +143,7 @@ void chaser_confirm::do_bumped(height_t) NOEXCEPT
144
143
145
// Guarded by candidate interlock.
146
size_t fork_point{};
+ const auto& query = archive();
147
auto fork = query.get_validated_fork(fork_point, checkpoint(), filter_);
148
149
// Fork may be empty if candidates were reorganized.
0 commit comments