fix broken tests

This commit is contained in:
Hsiao-Wei Wang 2024-03-06 23:03:55 +08:00
parent 38f269ca12
commit dc37dcdbf2
No known key found for this signature in database
GPG Key ID: AE3D6B174F971DE4
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ def fill_aggregate_attestation(spec, state, attestation, signed=False, filter_pa
beacon_committee = spec.get_beacon_committee(
state,
attestation.data.slot,
spec.get_attestation_index(attestation),
attestation.data.index,
)
# By default, have everyone participate
participants = set(beacon_committee)