don't need slot num in get_active_validator_indices

This commit is contained in:
terence tsao 2018-12-05 17:26:07 -08:00 committed by GitHub
parent f956135763
commit 0626061977
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):