Skip to content

Commit

Permalink
Update 0_beacon-chain.md (#921)
Browse files Browse the repository at this point in the history
Fix typo to set the right property on the correct object
  • Loading branch information
ralexstokes authored and JustinDrake committed Apr 14, 2019
1 parent 7840d29 commit bcf10ec
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 @@ -1937,7 +1937,7 @@ def process_balance_driven_status_transitions(state: BeaconState) -> None:
for index, validator in enumerate(state.validator_registry):
balance = get_balance(state, index)
if validator.activation_eligibility_epoch == FAR_FUTURE_EPOCH and balance >= MAX_DEPOSIT_AMOUNT:
state.activation_eligibility_epoch = get_current_epoch(state)
validator.activation_eligibility_epoch = get_current_epoch(state)

if is_active_validator(validator, get_current_epoch(state)) and balance < EJECTION_BALANCE:
initiate_validator_exit(state, index)
Expand Down

0 comments on commit bcf10ec

Please sign in to comment.