Skip to content

Commit

Permalink
update validator_registry -> validators missed case
Browse files Browse the repository at this point in the history
  • Loading branch information
protolambda committed Jun 25, 2019
1 parent 3b5c7f2 commit 2c6f4f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/core/0_beacon-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2c6f4f2

Please sign in to comment.