Fix type hinting

This commit is contained in:
Hsiao-Wei Wang 2019-02-08 05:15:42 +08:00
parent 911e4f104b
commit 89b9894328
No known key found for this signature in database
GPG Key ID: 95B070122902DEA4
1 changed files with 1 additions and 1 deletions

View File

@ -697,7 +697,7 @@ def get_active_validator_indices(validators: List[Validator], epoch: EpochNumber
### `get_permuted_index`
```python
def get_permuted_index(index: int, list_size: int, seed: Bytes32, round_count: int=90) -> List[int]:
def get_permuted_index(index: int, list_size: int, seed: Bytes32, round_count: int=90) -> int:
"""
Return `p(index)` in a pseudorandom permutation `p` of `0...list_size-1` with ``seed`` as entropy.