mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Fix shard overlays
This commit is contained in:
parent
96afdc12ac
commit
b8f347231f
1 changed files with 1 additions and 1 deletions
|
@ -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->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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue