mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Fix QueueSizeCounter and ValidatorGroup after merge
This commit is contained in:
parent
a2eb3f3631
commit
747b24aa18
8 changed files with 31 additions and 16 deletions
|
@ -234,7 +234,9 @@ void QueueSizeCounter::process_top_shard_blocks_cont(td::Ref<MasterchainState> s
|
|||
last_top_blocks_.clear();
|
||||
last_top_blocks_.push_back(state->get_block_id());
|
||||
for (auto &shard : state->get_shards()) {
|
||||
last_top_blocks_.push_back(shard->top_block_id());
|
||||
if (opts_->need_monitor(shard->shard(), state)) {
|
||||
last_top_blocks_.push_back(shard->top_block_id());
|
||||
}
|
||||
}
|
||||
for (const BlockIdExt &block_id : last_top_blocks_) {
|
||||
get_queue_size_ex_retry(block_id, init, ig.get_promise());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue