From 730281ed7d7fd69373cf954874c473098793c8e7 Mon Sep 17 00:00:00 2001 From: Kirk Baird Date: Tue, 15 Jan 2019 10:37:08 +1100 Subject: [PATCH] modify formatting --- beacon_chain/genesis/src/beacon_state.rs | 5 ++++- beacon_chain/types/src/beacon_block_body.rs | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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;