mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-16 12:36:25 +00:00
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…
x
Reference in New Issue
Block a user