Skip to content

Commit

Permalink
Fix LS state
Browse files Browse the repository at this point in the history
  • Loading branch information
tvorogme committed Feb 13, 2024
1 parent a6db82d commit 18de143
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion validator/manager-disk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,8 @@ void ValidatorManagerImpl::get_top_masterchain_state_block(

void ValidatorManagerImpl::get_last_liteserver_state_block(
td::Promise<std::pair<td::Ref<MasterchainState>, BlockIdExt>> promise) {
return get_top_masterchain_state_block(std::move(promise));
promise.set_result(
std::pair<td::Ref<MasterchainState>, BlockIdExt>{last_liteserver_state_, last_liteserver_block_id_});
}

void ValidatorManagerImpl::send_get_block_request(BlockIdExt id, td::uint32 priority,
Expand Down

0 comments on commit 18de143

Please sign in to comment.