Update specs/core/1_shard-data-chains.md
Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
parent
bdd7dc106a
commit
5e84d7e3ff
|
@ -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
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue