From fd5c3ee8b5c11c1b65d37c95ccc98027a333ae6f Mon Sep 17 00:00:00 2001 From: terence tsao Date: Wed, 13 Feb 2019 08:38:03 -0800 Subject: [PATCH] Update 0_beacon-chain.md --- specs/core/0_beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index d00a2817ba..0852f53f76 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -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