Fix `pyspec/tests/helpers.py`

This commit is contained in:
Hsiao-Wei Wang 2019-04-18 16:21:53 +08:00
parent cae5c22718
commit 964b4d380d
No known key found for this signature in database
GPG Key ID: 95B070122902DEA4
1 changed files with 2 additions and 3 deletions

View File

@ -27,7 +27,7 @@ from eth2spec.phase0.spec import (
get_active_validator_indices,
get_attesting_indices,
get_block_root,
get_crosslink_committee_for_attestation,
get_crosslink_committees_at_slot,
get_current_epoch,
get_domain,
get_empty_block,
@ -276,8 +276,7 @@ def get_valid_attester_slashing(state):
)
def get_crosslink_committee_for_attestation(state: BeaconState,
attestation_data: AttestationData) -> List[ValidatorIndex]:
def get_crosslink_committee_for_attestation(state, attestation_data):
"""
Return the crosslink committee corresponding to ``attestation_data``.
"""