Bugfix (missing `state.`)

This commit is contained in:
Justin 2018-12-13 10:03:50 +00:00 committed by GitHub
parent c1a3b29145
commit 6b6a04c884
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1249,7 +1249,7 @@ def activate_validator(state: BeaconState,
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(
validator_registry_delta_chain_tip=validator_registry_delta_chain_tip, validator_registry_delta_chain_tip=state.validator_registry_delta_chain_tip,
index=index, index=index,
pubkey=validator.pubkey, pubkey=validator.pubkey,
flag=ACTIVATION, flag=ACTIVATION,