diff --git a/beacon_chain/genesis/src/beacon_state.rs b/beacon_chain/genesis/src/beacon_state.rs index f8006a3c6..f8c7eb539 100644 --- a/beacon_chain/genesis/src/beacon_state.rs +++ b/beacon_chain/genesis/src/beacon_state.rs @@ -48,7 +48,10 @@ pub fn genesis_beacon_state(spec: &ChainSpec) -> Result { * Randomness and committees */ latest_randao_mixes: vec![spec.zero_hash; spec.latest_randao_mixes_length as usize], - latest_vdf_outputs: vec![spec.zero_hash; (spec.latest_randao_mixes_length / spec.epoch_length) as usize], + latest_vdf_outputs: vec![ + spec.zero_hash; + (spec.latest_randao_mixes_length / spec.epoch_length) as usize + ], shard_committees_at_slots: vec![], /* * Custody challenges diff --git a/beacon_chain/types/src/beacon_block_body.rs b/beacon_chain/types/src/beacon_block_body.rs index b5891d592..67fa34d91 100644 --- a/beacon_chain/types/src/beacon_block_body.rs +++ b/beacon_chain/types/src/beacon_block_body.rs @@ -3,7 +3,7 @@ use super::{Attestation, CasperSlashing, Deposit, Exit, ProposerSlashing}; use crate::test_utils::TestRandom; use rand::RngCore; -// The following types are just dummy classes as they will not be defined until +// The following types are just dummy classes as they will not be defined until // Phase 1 (Sharding phase) type CustodyReseed = usize; type CustodyChallenge = usize;