modify formatting

This commit is contained in:
Kirk Baird 2019-01-15 10:37:08 +11:00
parent e2b8a15b4e
commit 730281ed7d
No known key found for this signature in database
GPG Key ID: 5795CD0D5B6E9BCA
2 changed files with 5 additions and 2 deletions

View File

@ -48,7 +48,10 @@ pub fn genesis_beacon_state(spec: &ChainSpec) -> Result<BeaconState, Error> {
* 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