From ff021da551042131d4c3c681a08f86889b805b8d Mon Sep 17 00:00:00 2001 From: protolambda Date: Wed, 19 May 2021 17:21:30 +0200 Subject: [PATCH] change line formatting, new refence as config var implicitly takes more space --- specs/phase0/beacon-chain.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/specs/phase0/beacon-chain.md b/specs/phase0/beacon-chain.md index 41bac1c5e..0169e2725 100644 --- a/specs/phase0/beacon-chain.md +++ b/specs/phase0/beacon-chain.md @@ -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