Remove line repeat in initiate_validator_exit

This commit is contained in:
Akhila Raju 2018-12-19 19:56:26 -06:00 committed by GitHub
parent 09e31acda5
commit bf753a6120
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -1338,7 +1338,6 @@ def initiate_validator_exit(state: BeaconState,
if validator.status != ACTIVE: if validator.status != ACTIVE:
return return
validator = state.validator_registry[index]
validator.status = ACTIVE_PENDING_EXIT validator.status = ACTIVE_PENDING_EXIT
validator.latest_status_change_slot = state.slot validator.latest_status_change_slot = state.slot
``` ```