diff --git a/validator/db/celldb.hpp b/validator/db/celldb.hpp index 2421c2e9e..27ee8c97b 100644 --- a/validator/db/celldb.hpp +++ b/validator/db/celldb.hpp @@ -170,7 +170,7 @@ class CellDb : public CellDbBase { void update_snapshot(std::unique_ptr snapshot, std::unique_ptr snapshot2) { started_ = true; boc_->set_loader(std::make_unique(std::move(snapshot), on_load_callback_)).ensure(); - cell_db_read_.get_actor_unsafe().update_snapshot(std::move(snapshot2)); + td::actor::send_closure(cell_db_read_, &CellDbIn::update_snapshot, std::move(snapshot2)); } void get_cell_db_reader(td::Promise> promise); void get_last_deleted_mc_state(td::Promise promise);