Milder ejections

See item 22 in https://github.com/ethereum/eth2.0-specs/issues/675. Also partially addresses https://github.com/ethereum/eth2.0-specs/issues/527.
This commit is contained in:
Justin 2019-03-15 13:05:46 +00:00 committed by GitHub
parent 15bf3c4258
commit 4a8d748c55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2050,7 +2050,7 @@ def process_ejections(state: BeaconState) -> None:
"""
for index in get_active_validator_indices(state.validator_registry, get_current_epoch(state)):
if state.validator_balances[index] < EJECTION_BALANCE:
exit_validator(state, index)
initiate_validator_exit(state, index)
```
#### Validator registry and shuffling seed data