Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dungeon-master-666 committed Mar 11, 2024
1 parent 5a76918 commit 49fb0e4
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 @@ -897,7 +897,7 @@ void ArchiveSlice::truncate(BlockSeqno masterchain_seqno, ConstBlockHandle handl
auto pack = cutoff.move_as_ok();
CHECK(pack);

auto pack_r = Package::open(pack->path + ".new", false, !is_secondary_);
auto pack_r = Package::open(pack->path + ".new", false, !secondary_);
pack_r.ensure();
auto new_package = std::make_shared<Package>(pack_r.move_as_ok());
new_package->truncate(0).ensure();
Expand Down

0 comments on commit 49fb0e4

Please sign in to comment.