From 09e31acda5748a7c23ab6f11ad8ae96cf950430f Mon Sep 17 00:00:00 2001 From: Akhila Raju Date: Wed, 19 Dec 2018 19:53:28 -0600 Subject: [PATCH 1/2] Remove line repeat in activate_validator --- 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 4e105eb0f..137167abc 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -1317,7 +1317,6 @@ def activate_validator(state: BeaconState, if validator.status != PENDING_ACTIVATION: return - validator = state.validator_registry[index] validator.status = ACTIVE validator.latest_status_change_slot = state.slot state.validator_registry_delta_chain_tip = get_new_validator_registry_delta_chain_tip( From bf753a612090ba5d25c6f72fc501cb59e0760337 Mon Sep 17 00:00:00 2001 From: Akhila Raju Date: Wed, 19 Dec 2018 19:56:26 -0600 Subject: [PATCH 2/2] Remove line repeat in initiate_validator_exit --- 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 137167abc..6bd60512e 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -1338,7 +1338,6 @@ def initiate_validator_exit(state: BeaconState, if validator.status != ACTIVE: return - validator = state.validator_registry[index] validator.status = ACTIVE_PENDING_EXIT validator.latest_status_change_slot = state.slot ```