change line formatting, new refence as config var implicitly takes more space
This commit is contained in:
parent
291168e1e3
commit
ff021da551
|
@ -1580,7 +1580,10 @@ def process_registry_updates(state: BeaconState) -> None:
|
||||||
if is_eligible_for_activation_queue(validator):
|
if is_eligible_for_activation_queue(validator):
|
||||||
validator.activation_eligibility_epoch = get_current_epoch(state) + 1
|
validator.activation_eligibility_epoch = get_current_epoch(state) + 1
|
||||||
|
|
||||||
if is_active_validator(validator, get_current_epoch(state)) and validator.effective_balance <= EJECTION_BALANCE:
|
if (
|
||||||
|
is_active_validator(validator, get_current_epoch(state))
|
||||||
|
and validator.effective_balance <= EJECTION_BALANCE
|
||||||
|
):
|
||||||
initiate_validator_exit(state, ValidatorIndex(index))
|
initiate_validator_exit(state, ValidatorIndex(index))
|
||||||
|
|
||||||
# Queue validators eligible for activation and not yet dequeued for activation
|
# Queue validators eligible for activation and not yet dequeued for activation
|
||||||
|
|
Loading…
Reference in New Issue