Skip to content

Commit

Permalink
fix min_masterchain_seqno
Browse files Browse the repository at this point in the history
  • Loading branch information
dungeon-master-666 committed Mar 24, 2024
1 parent 534570d commit 3de3c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validator/db/archive-slice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ BlockSeqno ArchiveSlice::min_masterchain_seqno() {
return 0;
}

auto first_idx = g->last_idx_ - 1;
auto first_idx = g->first_idx_;
auto db_key = get_db_key_lt_el(ShardIdFull{masterchainId}, first_idx);
F = kv_->get(db_key, value);
F.ensure();
Expand Down

0 comments on commit 3de3c68

Please sign in to comment.