linter: first tuple element type is ValidatorFlags, not just int
This commit is contained in:
parent
71c28e67a1
commit
b4ba6c57de
|
@ -200,7 +200,7 @@ def eth2_fast_aggregate_verify(pubkeys: Sequence[BLSPubkey], message: Bytes32, s
|
||||||
#### `flags_and_numerators`
|
#### `flags_and_numerators`
|
||||||
|
|
||||||
```python
|
```python
|
||||||
def get_flags_and_numerators() -> Sequence[Tuple[int, int]]:
|
def get_flags_and_numerators() -> Sequence[Tuple[ValidatorFlags, int]]:
|
||||||
return (
|
return (
|
||||||
(TIMELY_HEAD_FLAG, TIMELY_HEAD_NUMERATOR),
|
(TIMELY_HEAD_FLAG, TIMELY_HEAD_NUMERATOR),
|
||||||
(TIMELY_SOURCE_FLAG, TIMELY_SOURCE_NUMERATOR),
|
(TIMELY_SOURCE_FLAG, TIMELY_SOURCE_NUMERATOR),
|
||||||
|
|
Loading…
Reference in New Issue