Remove line repeat in activate_validator

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

View File

@ -1317,7 +1317,6 @@ def activate_validator(state: BeaconState,
if validator.status != PENDING_ACTIVATION: if validator.status != PENDING_ACTIVATION:
return return
validator = state.validator_registry[index]
validator.status = ACTIVE validator.status = ACTIVE
validator.latest_status_change_slot = state.slot validator.latest_status_change_slot = state.slot
state.validator_registry_delta_chain_tip = get_new_validator_registry_delta_chain_tip( state.validator_registry_delta_chain_tip = get_new_validator_registry_delta_chain_tip(