don't need slot num in get_active_validator_indices
This commit is contained in:
parent
f956135763
commit
0626061977
|
@ -660,7 +660,7 @@ The beacon chain fork choice rule is a hybrid that combines justification and fi
|
||||||
def lmd_ghost(store, start):
|
def lmd_ghost(store, start):
|
||||||
validators = start.state.validator_registry
|
validators = start.state.validator_registry
|
||||||
active_validators = [validators[i] for i in
|
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)
|
attestation_targets = [get_latest_attestation_target(store, validator)
|
||||||
for validator in active_validators]
|
for validator in active_validators]
|
||||||
def get_vote_count(block):
|
def get_vote_count(block):
|
||||||
|
|
Loading…
Reference in New Issue