mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-17 21:16:52 +00:00
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:
|
if validator.status != ACTIVE:
|
||||||
return
|
return
|
||||||
|
|
||||||
validator = state.validator_registry[index]
|
|
||||||
validator.status = ACTIVE_PENDING_EXIT
|
validator.status = ACTIVE_PENDING_EXIT
|
||||||
validator.latest_status_change_slot = state.slot
|
validator.latest_status_change_slot = state.slot
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user