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

Fix loading block candidates in WaitBlockData

This commit is contained in:
SpyCheese 2024-12-24 11:58:51 +03:00
parent 160b539eaa
commit c955a5333d

View file

@ -106,7 +106,7 @@ void WaitBlockData::start() {
}); });
td::actor::send_closure(manager_, &ValidatorManager::try_get_static_file, handle_->id().file_hash, std::move(P)); td::actor::send_closure(manager_, &ValidatorManager::try_get_static_file, handle_->id().file_hash, std::move(P));
} else if (try_get_candidate_) { } else if (try_get_candidate_ && !handle_->id().is_masterchain()) {
try_get_candidate_ = false; try_get_candidate_ = false;
td::actor::send_closure( td::actor::send_closure(
manager_, &ValidatorManager::get_candidate_data_by_block_id_from_db, handle_->id(), manager_, &ValidatorManager::get_candidate_data_by_block_id_from_db, handle_->id(),