def aggregate_votes(bitfield: Bitfield, sigs: Sequence[BLSSignature], voting_sigs: Sequence[BLSSignature], attesting_indices: Sequence[CommitteeIndex]) -> Tuple[(Bitfield, BLSSignature)]:
    '\n    Aggregate the votes.\n    '
    sigs = (tuple(sigs) + tuple(voting_sigs))
    bitfield = pipe(bitfield, *(set_voted(index=committee_index) for committee_index in attesting_indices))
    return (bitfield, bls.aggregate_signatures(sigs))
Aggregate the votes.
def aggregate_votes(bitfield: Bitfield, sigs: Sequence[BLSSignature], voting_sigs: Sequence[BLSSignature], attesting_indices: Sequence[CommitteeIndex]) -> Tuple[(Bitfield, BLSSignature)]:
    '\n    \n    '
    sigs = (tuple(sigs) + tuple(voting_sigs))
    bitfield = pipe(bitfield, *(set_voted(index=committee_index) for committee_index in attesting_indices))
    return (bitfield, bls.aggregate_signatures(sigs))