Merge pull request #240 from terenc3t/patch-16

Don't need slot # for get_active_validator_indices
This commit is contained in:
Hsiao-Wei Wang 2018-12-06 14:03:13 +08:00 committed by GitHub
commit 696648834a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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):