mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-12 11:12:16 +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_;
|
||||
callback_->new_key_block(last_key_block_handle_);
|
||||
}
|
||||
td::actor::send_closure(serializer_, &AsyncStateSerializer::update_last_known_key_block_ts,
|
||||
last_key_block_handle_->unix_time());
|
||||
if (!serializer_.empty()) {
|
||||
td::actor::send_closure(serializer_, &AsyncStateSerializer::update_last_known_key_block_ts,
|
||||
last_key_block_handle_->unix_time());
|
||||
}
|
||||
}
|
||||
|
||||
update_shards();
|
||||
|
|
Loading…
Reference in a new issue