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

Change format of specifying shards to monitor

This commit is contained in:
SpyCheese 2022-09-13 16:02:55 +03:00
parent c2e7d0b0de
commit 86250706b8
4 changed files with 7 additions and 4 deletions

View file

@ -170,7 +170,7 @@ void CollatorNode::receive_query_cont(adnl::AdnlNodeIdShort src, ShardIdFull sha
bool CollatorNode::collate_shard(ShardIdFull shard) const {
for (ShardIdFull our_shard : shards_) {
if (shard_is_ancestor(shard, our_shard)) {
if (shard_intersects(shard, our_shard)) {
return true;
}
}