mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
new db
new database fift/func bugfixes
This commit is contained in:
parent
950e292264
commit
e30d98eb30
110 changed files with 6102 additions and 2075 deletions
|
@ -194,11 +194,13 @@ void DownloadShardState::written_shard_state(td::Ref<ShardState> state) {
|
|||
handle_->set_applied();
|
||||
handle_->set_split(state_->before_split());
|
||||
|
||||
auto P = td::PromiseCreator::lambda([SelfId = actor_id(this)](td::Result<td::Unit> R) {
|
||||
auto P = td::PromiseCreator::lambda([SelfId = actor_id(this), handle = handle_](td::Result<td::Unit> R) {
|
||||
CHECK(handle->handle_moved_to_archive());
|
||||
CHECK(handle->moved_to_archive())
|
||||
R.ensure();
|
||||
td::actor::send_closure(SelfId, &DownloadShardState::written_block_handle);
|
||||
});
|
||||
handle_->flush(manager_, handle_, std::move(P));
|
||||
td::actor::send_closure(manager_, &ValidatorManager::archive, handle_, std::move(P));
|
||||
}
|
||||
|
||||
void DownloadShardState::written_block_handle() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue