Fix lint (124 > 120 characters)

This commit is contained in:
terence tsao 2021-05-02 20:47:57 -07:00 committed by GitHub
parent 780121f9b0
commit 930ca61690
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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)