Merge pull request #240 from terenc3t/patch-16
Don't need slot # for get_active_validator_indices
This commit is contained in:
commit
696648834a
|
@ -660,7 +660,7 @@ The beacon chain fork choice rule is a hybrid that combines justification and fi
|
|||
def lmd_ghost(store, start):
|
||||
validators = start.state.validator_registry
|
||||
active_validators = [validators[i] for i in
|
||||
get_active_validator_indices(validators, start.slot)]
|
||||
get_active_validator_indices(validators)]
|
||||
attestation_targets = [get_latest_attestation_target(store, validator)
|
||||
for validator in active_validators]
|
||||
def get_vote_count(block):
|
||||
|
|
Loading…
Reference in New Issue