Skip to content

Commit

Permalink
Merge pull request #619 from terenc3t/patch-49
Browse files Browse the repository at this point in the history
Quick fix for lmd_ghost
  • Loading branch information
hwwhww committed Feb 13, 2019
2 parents 3d5aa35 + fd5c3ee commit 327c282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/core/0_beacon-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -1587,7 +1587,7 @@ def lmd_ghost(store: Store, start_state: BeaconState, start_block: BeaconBlock)
Execute the LMD-GHOST algorithm to find the head ``BeaconBlock``.
"""
validators = start_state.validator_registry
active_validator_indices = get_active_validator_indices(validators, start_state.slot)
active_validator_indices = get_active_validator_indices(validators, slot_to_epoch(start_state.slot))
attestation_targets = [
(validator_index, get_latest_attestation_target(store, validator_index))
for validator_index in active_validator_indices
Expand Down

0 comments on commit 327c282

Please sign in to comment.