Update 0_beacon-chain.md (#923)
Fix another typo w/ the withdrawal ~> exit queue PR
This commit is contained in:
parent
2a88dff2be
commit
40d6a2635a
|
@ -1950,7 +1950,7 @@ Run the following function:
|
||||||
```python
|
```python
|
||||||
def update_registry(state: BeaconState) -> None:
|
def update_registry(state: BeaconState) -> None:
|
||||||
activation_queue = sorted([
|
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_eligibility_epoch != FAR_FUTURE_EPOCH and
|
||||||
validator.activation_epoch >= get_delayed_activation_exit_epoch(state.finalized_epoch)
|
validator.activation_epoch >= get_delayed_activation_exit_epoch(state.finalized_epoch)
|
||||||
], key=lambda index: state.validator_registry[index].activation_eligibility_epoch)
|
], key=lambda index: state.validator_registry[index].activation_eligibility_epoch)
|
||||||
|
|
Loading…
Reference in New Issue