mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-13 12:14:19 +00:00
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):
|
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…
x
Reference in New Issue
Block a user