Update 0_beacon-chain.md (#923)

Fix another typo w/ the withdrawal ~> exit queue PR
This commit is contained in:
Alex Stokes 2019-04-15 07:03:47 +10:00 committed by Justin
parent 2a88dff2be
commit 40d6a2635a
1 changed files with 1 additions and 1 deletions

View File

@ -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)