iterate over the correct number of subcommittees

This commit is contained in:
Alex Stokes 2021-04-08 17:44:10 -07:00
parent 749b49898a
commit 3fd4974430
No known key found for this signature in database
GPG Key ID: 99B3D88FD6C55A69
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ def test_process_sync_committee_contributions(phases, spec, state):
spec, state, previous_slot, target_block_root, i, aggregation_index
),
)
for i in range(spec.SYNC_COMMITTEE_SIZE // spec.SYNC_COMMITTEE_SUBNET_COUNT)
for i in range(spec.SYNC_COMMITTEE_SUBNET_COUNT)
]
# ensure the block has an empty sync aggregate...