mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-03 07:45:03 -05:00
Update specs/core/1_shard-data-chains.md
Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user