We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c15154 commit a505e32Copy full SHA for a505e32
validator-session/validator-session.cpp
@@ -1183,7 +1183,7 @@ void ValidatorSessionImpl::on_new_round(td::uint32 round) {
1183
auto it2 = blocks_.begin();
1184
while (it2 != blocks_.end()) {
1185
if (it2->second->round_ < (td::int32)cur_round_ - MAX_PAST_ROUND_BLOCK &&
1186
- !accepted_block_candidates_.contains(it->first)) {
+ !accepted_block_candidates_.contains(it2->first)) {
1187
it2 = blocks_.erase(it2);
1188
} else {
1189
++it2;
0 commit comments