Update tests/core/pyspec/eth2spec/test/altair/block_processing/sync_aggregate/test_process_sync_aggregate_random.py
This commit is contained in:
parent
d834b6e800
commit
30596fb8a1
|
@ -28,7 +28,7 @@ from eth2spec.test.context import (
|
||||||
|
|
||||||
|
|
||||||
def _test_harness_for_randomized_test_case(spec, state, expect_duplicates=False, participation_fn=None):
|
def _test_harness_for_randomized_test_case(spec, state, expect_duplicates=False, participation_fn=None):
|
||||||
committee_indices = compute_committee_indices(spec, state, state.current_sync_committee)
|
committee_indices = compute_committee_indices(spec, state)
|
||||||
|
|
||||||
if participation_fn:
|
if participation_fn:
|
||||||
participating_indices = participation_fn(committee_indices)
|
participating_indices = participation_fn(committee_indices)
|
||||||
|
|
Loading…
Reference in New Issue