mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Add null check in manager.cpp (#1069)
This commit is contained in:
parent
015e2e55d3
commit
58ca7b44ff
1 changed files with 4 additions and 2 deletions
|
@ -1910,8 +1910,10 @@ void ValidatorManagerImpl::new_masterchain_block() {
|
||||||
last_known_key_block_handle_ = last_key_block_handle_;
|
last_known_key_block_handle_ = last_key_block_handle_;
|
||||||
callback_->new_key_block(last_key_block_handle_);
|
callback_->new_key_block(last_key_block_handle_);
|
||||||
}
|
}
|
||||||
td::actor::send_closure(serializer_, &AsyncStateSerializer::update_last_known_key_block_ts,
|
if (!serializer_.empty()) {
|
||||||
last_key_block_handle_->unix_time());
|
td::actor::send_closure(serializer_, &AsyncStateSerializer::update_last_known_key_block_ts,
|
||||||
|
last_key_block_handle_->unix_time());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
update_shards();
|
update_shards();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue