From c589f8273b56e6d7dda5aa57800cd91dc2c11f1b Mon Sep 17 00:00:00 2001 From: terence tsao Date: Thu, 10 Jan 2019 08:19:56 -0800 Subject: [PATCH] Update 0_beacon-chain.md --- specs/core/0_beacon-chain.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index 2f5b1b3f9..9a3a73ff8 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -1742,7 +1742,6 @@ def process_penalties_and_exits(state: BeaconState) -> None: sorted_indices = sorted(eligible_indices, key=lambda index: state.validator_registry[index].exit_count) withdrawn_so_far = 0 for index in sorted_indices: - validator = state.validator_registry[index] prepare_validator_for_withdrawal(state, index) withdrawn_so_far += 1 if withdrawn_so_far >= MAX_WITHDRAWALS_PER_EPOCH: