Fixed exit epoch conditional
This commit is contained in:
parent
a2dae9a8e0
commit
15498f22ef
|
@ -1390,7 +1390,6 @@ def initiate_validator_exit(state: BeaconState, index: ValidatorIndex) -> None:
|
|||
state.exit_queue_filled = 0
|
||||
|
||||
# Set validator exit epoch and withdrawable epoch
|
||||
if validator.exit_epoch > state.exit_epoch:
|
||||
validator.exit_epoch = state.exit_epoch
|
||||
validator.withdrawable_epoch = validator.exit_epoch + MIN_VALIDATOR_WITHDRAWABILITY_DELAY
|
||||
|
||||
|
|
Loading…
Reference in New Issue