Fix lint (124 > 120 characters)
This commit is contained in:
parent
780121f9b0
commit
930ca61690
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue