Remove line repeat in initiate_validator_exit
This commit is contained in:
parent
09e31acda5
commit
bf753a6120
|
@ -1338,7 +1338,6 @@ def initiate_validator_exit(state: BeaconState,
|
|||
if validator.status != ACTIVE:
|
||||
return
|
||||
|
||||
validator = state.validator_registry[index]
|
||||
validator.status = ACTIVE_PENDING_EXIT
|
||||
validator.latest_status_change_slot = state.slot
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue