mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 23:55:13 -05:00
Fix to make Danny and hww happy
This commit is contained in:
@@ -689,9 +689,7 @@ 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:
|
||||
validator.withdrawable_epoch = FAR_FUTURE_EPOCH
|
||||
else:
|
||||
if validator.exit_epoch != FAR_FUTURE_EPOCH and validator.withdrawable_epoch == FAR_FUTURE_EPOCH:
|
||||
validator.withdrawable_epoch = validator.exit_epoch + MIN_VALIDATOR_WITHDRAWABILITY_DELAY
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user