mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-06 07:44:56 +00:00
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`
|
||||
|
||||
```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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user