Remove line repeat in activate_validator
This commit is contained in:
parent
c9a3b385a9
commit
09e31acda5
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue