From b8b2586c92f682794e5d9eecad54c69b3f25ff82 Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Thu, 6 Dec 2018 09:40:40 -0600 Subject: [PATCH] address review comments --- specs/core/0_beacon-chain.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index 17e8f57b0..55759853c 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -87,7 +87,6 @@ - [Balance recalculations related to crosslink rewards](#balance-recalculations-related-to-crosslink-rewards) - [Ethereum 1.0 chain related rules](#ethereum-10-chain-related-rules) - [Validator registry](#validator-registry) - - [If a validator registry change does NOT happen](#if-a-validator-registry-change-does-not-happen) - [Proposer reshuffling](#proposer-reshuffling) - [Finally...](#finally) - [Appendix](#appendix) @@ -1502,7 +1501,7 @@ def get_updated_validator_registry(validator_registry: List[ValidatorRecord], # Exit validators within the allowable balance churn balance_churn = 0 - for i, validator in enumerate(validators): + for i, validator in enumerate(validator_registry): if validator.status == ACTIVE_PENDING_EXIT: # Check the balance churn would be within the allowance balance_churn += get_effective_balance(validator)