diff --git a/specs/altair/beacon-chain.md b/specs/altair/beacon-chain.md index 2e1d2d070..0e7be47e3 100644 --- a/specs/altair/beacon-chain.md +++ b/specs/altair/beacon-chain.md @@ -267,7 +267,8 @@ 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 (which may include duplicate indices) for a given ``state`` and ``epoch``. + Return the sequence of sync committee indices (which may include duplicate indices) + for a given ``state`` and ``epoch``. """ MAX_RANDOM_BYTE = 2**8 - 1 base_epoch = Epoch((max(epoch // EPOCHS_PER_SYNC_COMMITTEE_PERIOD, 1) - 1) * EPOCHS_PER_SYNC_COMMITTEE_PERIOD)