removed crystallized state ref

This commit is contained in:
Grant Wuerker 2019-01-07 19:35:30 -06:00
parent 246584f1a5
commit c00dc0a96b

View File

@ -12,8 +12,6 @@ pub enum Error {
pub fn genesis_beacon_state(spec: &ChainSpec) -> Result<BeaconState, Error> { pub fn genesis_beacon_state(spec: &ChainSpec) -> Result<BeaconState, Error> {
/* /*
* Assign the validators to shards, using all zeros as the seed. * Assign the validators to shards, using all zeros as the seed.
*
* Crystallizedstate stores two cycles, so we simply repeat the same assignment twice.
*/ */
let _shard_and_committee_for_slots = { let _shard_and_committee_for_slots = {
let mut a = shard_and_committees_for_cycle(&[0; 32], &spec.initial_validators, 0, &spec)?; let mut a = shard_and_committees_for_cycle(&[0; 32], &spec.initial_validators, 0, &spec)?;