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:15 -06:00 committed by GitHub
parent bdd7dc106a
commit 5e84d7e3ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ def get_proposal_committee(seed: Bytes32,
def get_switchover_epoch(index):
return (
int.from_bytes(hash(generate_seed(state, earlier_committee_start) + bytes3(index)), 'little') %
bytes_to_int(hash(generate_seed(state, earlier_committee_start) + bytes3(index))[0:8]) %
PROPOSAL_RESHUFFLE_PERIOD
)