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

Rename actual_min_split and soft_mis_split to avoid confusion

This commit is contained in:
SpyCheese 2023-07-17 19:14:39 +03:00
parent b8f347231f
commit 3265e397f2
8 changed files with 13 additions and 13 deletions

View file

@ -147,7 +147,7 @@ void FullNodeImpl::update_shard_configuration(td::Ref<MasterchainState> state, s
new_shards.insert(ShardIdFull(masterchainId));
std::set<WorkchainId> workchains;
auto cut_shard = [&](ShardIdFull shard) -> ShardIdFull {
int min_split = state->min_split_depth(shard.workchain);
int min_split = state->monitor_min_split_depth(shard.workchain);
return min_split < shard.pfx_len() ? shard_prefix(shard, min_split) : shard;
};
auto set_active = [&](ShardIdFull shard, FullNodeShardMode mode) {