change line formatting, new refence as config var implicitly takes more space

This commit is contained in:
protolambda 2021-05-19 17:21:30 +02:00
parent 291168e1e3
commit ff021da551
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623
1 changed files with 4 additions and 1 deletions

View File

@ -1580,7 +1580,10 @@ def process_registry_updates(state: BeaconState) -> None:
if is_eligible_for_activation_queue(validator):
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))
# Queue validators eligible for activation and not yet dequeued for activation