Update the docstring of initiate_validator_exit (#1072)

This commit is contained in:
Ryuya Nakamura 2019-05-11 20:41:05 +09:00 committed by Hsiao-Wei Wang
parent ef24b97190
commit ae19521ea8
1 changed files with 1 additions and 1 deletions

View File

@ -1127,7 +1127,7 @@ def get_churn_limit(state: BeaconState) -> int:
```python
def initiate_validator_exit(state: BeaconState, index: ValidatorIndex) -> None:
"""
Initiate the validator of the given ``index``.
Initiate the exit of the validator of the given ``index``.
"""
# Return if validator already initiated exit
validator = state.validator_registry[index]