mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Bugfix in OutMsgQueueImporter
This commit is contained in:
parent
7155bf5eca
commit
47c60d8bf0
1 changed files with 1 additions and 1 deletions
|
@ -371,8 +371,8 @@ void OutMsgQueueImporter::get_neighbor_msg_queue_proofs(
|
|||
};
|
||||
auto limits = last_masterchain_state_->get_imported_msg_queue_limits(dst_shard.workchain);
|
||||
for (auto& p : new_queries) {
|
||||
++entry->pending;
|
||||
for (size_t i = 0; i < p.second.size(); i += 16) {
|
||||
++entry->pending;
|
||||
size_t j = std::min(i + 16, p.second.size());
|
||||
get_proof_import(entry, std::vector<BlockIdExt>(p.second.begin() + i, p.second.begin() + j),
|
||||
limits * (td::uint32)(j - i));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue