Update specs/core/1_custody-game.md

Co-Authored-By: Carl Beekhuizen <carl.beek@gmail.com>
This commit is contained in:
Hsiao-Wei Wang 2019-05-24 02:54:41 +08:00 committed by GitHub
parent 650c4244bd
commit 0f7abfa4ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -699,6 +699,6 @@ Append this to `process_final_updates(state)`:
)
for index, validator in enumerate(state.validator_registry):
if index not in validator_indices_in_records:
if validator.exit_epoch != FAR_FUTURE_EPOCH:
if validator.exit_epoch != FAR_FUTURE_EPOCH and validator.withdrawable_epoch == FAR_FUTURE_EPOCH:
validator.withdrawable_epoch = validator.exit_epoch + MIN_VALIDATOR_WITHDRAWABILITY_DELAY
```