Update specs/altair/beacon-chain.md

Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
This commit is contained in:
dankrad
2021-05-06 22:55:55 +01:00
committed by GitHub
parent ba2c717bf1
commit 2fc68c451e

View File

@@ -263,8 +263,7 @@ def has_flag(flags: ParticipationFlags, flag_index: int) -> bool:
```python
def get_sync_committee_indices(state: BeaconState, epoch: Epoch) -> Sequence[ValidatorIndex]:
"""
Return the sequence of sync committee indices
for a given ``state`` and ``epoch``.
Return the sequence of sync committee indices for a given ``state`` and ``epoch``.
Can contain duplicate indices for small validator sets (< 2 * SYNC_COMMITTEE_SIZE)
"""
MAX_RANDOM_BYTE = 2**8 - 1