mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 13:55:01 -05:00
Update the docstring of initiate_validator_exit (#1072)
This commit is contained in:
committed by
Hsiao-Wei Wang
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]
|
||||
|
||||
Reference in New Issue
Block a user