linter: first tuple element type is ValidatorFlags, not just int

This commit is contained in:
protolambda 2021-02-01 22:02:12 +01:00
parent 71c28e67a1
commit b4ba6c57de
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ def eth2_fast_aggregate_verify(pubkeys: Sequence[BLSPubkey], message: Bytes32, s
#### `flags_and_numerators`
```python
def get_flags_and_numerators() -> Sequence[Tuple[int, int]]:
def get_flags_and_numerators() -> Sequence[Tuple[ValidatorFlags, int]]:
return (
(TIMELY_HEAD_FLAG, TIMELY_HEAD_NUMERATOR),
(TIMELY_SOURCE_FLAG, TIMELY_SOURCE_NUMERATOR),