Merge pull request #307 from ethereum/JustinDrake-patch-8

Bugfix (missing `state.`)
This commit is contained in:
Hsiao-Wei Wang 2018-12-13 20:40:18 +08:00 committed by GitHub
commit 0f8166c693
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.latest_status_change_slot = state.slot
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,
pubkey=validator.pubkey,
flag=ACTIVATION,