Update specs/core/1_shard-data-chains.md

Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
Danny Ryan 2019-02-08 01:08:01 -06:00 committed by GitHub
parent a1f542b674
commit bdd7dc106a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ def get_proposal_committee(seed: Bytes32,
later_committee_start = epoch - (epoch % PROPOSAL_RESHUFFLE_PERIOD) - PROPOSAL_RESHUFFLE_PERIOD later_committee_start = epoch - (epoch % PROPOSAL_RESHUFFLE_PERIOD) - PROPOSAL_RESHUFFLE_PERIOD
later_committee = split(shuffle( later_committee = split(shuffle(
get_active_validator_indices(validators, earlier_committee_start), get_active_validator_indices(validators, earlier_committee_start),
generate_seed(state, earlier_committee_start) generate_seed(state, later_committee_start)
), SHARD_COUNT)[shard] ), SHARD_COUNT)[shard]
def get_switchover_epoch(index): def get_switchover_epoch(index):