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:
parent
c2e7d0b0de
commit
86250706b8
4 changed files with 7 additions and 4 deletions
|
@ -1413,7 +1413,7 @@ void ValidatorEngine::set_shard_check_function() {
|
|||
validator_options_.write().set_shard_check_function(
|
||||
[shards = std::move(shards)](ton::ShardIdFull shard) -> bool {
|
||||
for (auto s : shards) {
|
||||
if (shard_is_ancestor(shard, s)) {
|
||||
if (shard_intersects(shard, s)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue