Skip to content

Commit

Permalink
Fix typo in archive-slice.cpp (#850) (#879)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpyCheese authored Feb 2, 2024
1 parent 957ecd7 commit c38b292
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 @@ -532,7 +532,7 @@ void ArchiveSlice::set_async_mode(bool mode, td::Promise<td::Unit> promise) {
ig.add_promise(std::move(promise));

for (auto &p : packages_) {
td::actor::send_closure(p.writer, &PackageWriter::set_async_mode, mode, std::move(promise));
td::actor::send_closure(p.writer, &PackageWriter::set_async_mode, mode, ig.get_promise());
}
}

Expand Down

0 comments on commit c38b292

Please sign in to comment.