1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Flag "full collated data" in mc config; fix accept-block

This commit is contained in:
SpyCheese 2022-08-15 19:27:19 +03:00
parent 81d32ba5d6
commit 011e97f53c
17 changed files with 76 additions and 55 deletions

View file

@ -144,6 +144,7 @@ bool AcceptBlockQuery::precheck_header() {
if (is_fork_ && !info.key_block) {
return fatal_error("fork block is not a key block");
}
before_split_ = info.before_split;
return true;
}
@ -538,6 +539,7 @@ void AcceptBlockQuery::written_state(td::Ref<ShardState> upd_state) {
}
//handle_->set_masterchain_block(prev_[0]);
handle_->set_split(before_split_);
handle_->set_state_root_hash(state_hash_);
handle_->set_logical_time(lt_);
handle_->set_unix_time(created_at_);