Merge pull request #1961 from ericsson49/fix_get_custody_period_for_validator_return_type

change `get_custody_period_for_validator()` return type to `uint64`
This commit is contained in:
Diederik Loerakker 2020-07-08 18:42:37 +02:00 committed by GitHub
commit 0b04dfd815
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ def get_randao_epoch_for_custody_period(period: uint64, validator_index: Validat
### `get_custody_period_for_validator`
```python
def get_custody_period_for_validator(validator_index: ValidatorIndex, epoch: Epoch) -> int:
def get_custody_period_for_validator(validator_index: ValidatorIndex, epoch: Epoch) -> uint64:
'''
Return the reveal period for a given validator.
'''