Skip to content

Commit d692e40

Browse files
fix typing in slashable_vote_data.py
1 parent 9a951dc commit d692e40

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

eth/beacon/types/slashable_vote_data.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
)
1717
from eth.beacon.typing import (
1818
BLSSignatureIntegers,
19+
ValidatorIndex,
1920
)
2021
from eth.beacon.constants import EMPTY_SIGNATURE
2122

@@ -38,8 +39,8 @@ class SlashableVoteData(rlp.Serializable):
3839
]
3940

4041
def __init__(self,
41-
aggregate_signature_poc_0_indices: Sequence[int],
42-
aggregate_signature_poc_1_indices: Sequence[int],
42+
aggregate_signature_poc_0_indices: Sequence[ValidatorIndex],
43+
aggregate_signature_poc_1_indices: Sequence[ValidatorIndex],
4344
data: AttestationData,
4445
aggregate_signature: BLSSignatureIntegers = EMPTY_SIGNATURE) -> None:
4546
super().__init__(

0 commit comments

Comments
 (0)