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…
Reference in New Issue