From 2c6f4f2597b3a6e821b03007de329058871f1d3f Mon Sep 17 00:00:00 2001 From: protolambda Date: Tue, 25 Jun 2019 19:33:24 +0200 Subject: [PATCH] update validator_registry -> validators missed case --- specs/core/0_beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index 99425c6c2..56a6fd06a 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -1142,7 +1142,7 @@ def is_genesis_trigger(deposits: Sequence[Deposit], timestamp: uint64) -> bool: # Count active validators at genesis active_validator_count = 0 - for validator in state.validator_registry: + for validator in state.validators: if validator.effective_balance == MAX_EFFECTIVE_BALANCE: active_validator_count += 1