mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-17 13:06:34 +00:00
typo
This commit is contained in:
parent
ada3cb2ae1
commit
43beb743e6
@ -1121,7 +1121,7 @@ def get_genesis_beacon_state(eth1_block_hash: Hash, eth1_timestamp: int, deposit
|
||||
|
||||
# Process activations
|
||||
for index, validator in enumerate(state.validators):
|
||||
if balances[index] >= MAX_EFFECTIVE_BALANCE:
|
||||
if state.balances[index] >= MAX_EFFECTIVE_BALANCE:
|
||||
validator.activation_eligibility_epoch = GENESIS_EPOCH
|
||||
validator.activation_epoch = GENESIS_EPOCH
|
||||
assert len(get_active_validator_indices(state, GENESIS_EPOCH)) >= MIN_MIN_GENESIS_ACTIVE_VALIDATOR_COUNT
|
||||
|
Loading…
x
Reference in New Issue
Block a user