Update the docstring of initiate_validator_exit (#1072)
This commit is contained in:
parent
ef24b97190
commit
ae19521ea8
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue