From b8f347231fd4246736da8300d81df0ff73861f08 Mon Sep 17 00:00:00 2001 From: SpyCheese Date: Mon, 17 Jul 2023 18:45:32 +0300 Subject: [PATCH] Fix shard overlays --- validator/full-node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validator/full-node.cpp b/validator/full-node.cpp index cfe49366..3897626f 100644 --- a/validator/full-node.cpp +++ b/validator/full-node.cpp @@ -147,7 +147,7 @@ void FullNodeImpl::update_shard_configuration(td::Ref state, s new_shards.insert(ShardIdFull(masterchainId)); std::set workchains; auto cut_shard = [&](ShardIdFull shard) -> ShardIdFull { - int min_split = state->soft_min_split_depth(shard.workchain); + int min_split = state->min_split_depth(shard.workchain); return min_split < shard.pfx_len() ? shard_prefix(shard, min_split) : shard; }; auto set_active = [&](ShardIdFull shard, FullNodeShardMode mode) {