Skip to content

Commit

Permalink
Update 0_beacon-chain.md (#923)
Browse files Browse the repository at this point in the history
Fix another typo w/ the withdrawal ~> exit queue PR
  • Loading branch information
ralexstokes authored and JustinDrake committed Apr 14, 2019
1 parent 2a88dff commit 40d6a26
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 @@ -1950,7 +1950,7 @@ Run the following function:
```python
def update_registry(state: BeaconState) -> None:
activation_queue = sorted([
validator for validator in state.validator_registry if
index for index, validator in enumerate(state.validator_registry) if
validator.activation_eligibility_epoch != FAR_FUTURE_EPOCH and
validator.activation_epoch >= get_delayed_activation_exit_epoch(state.finalized_epoch)
], key=lambda index: state.validator_registry[index].activation_eligibility_epoch)
Expand Down

0 comments on commit 40d6a26

Please sign in to comment.