diff --git a/beacon_chain/validator_shuffling/src/shuffle.rs b/beacon_chain/validator_shuffling/src/shuffle.rs index 17d3d6420..577668a8f 100644 --- a/beacon_chain/validator_shuffling/src/shuffle.rs +++ b/beacon_chain/validator_shuffling/src/shuffle.rs @@ -96,8 +96,10 @@ fn generate_cycle( .map(|(j, shard_indices)| ShardAndCommittee { shard: ((shard_start + j) % shard_count) as u16, committee: shard_indices.to_vec(), - }).collect() - }).collect(); + }) + .collect() + }) + .collect(); Ok(cycle) }