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:
parent
81d32ba5d6
commit
011e97f53c
17 changed files with 76 additions and 55 deletions
|
@ -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_);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue