def verify_votes(message_hash: Hash32, votes: Iterable[Tuple[(ValidatorIndex, BLSSignature, BLSPubkey)]], domain: Domain) -> Tuple[(Tuple[(BLSSignature, ...)], Tuple[(ValidatorIndex, ...)])]:
    '\n    Verify the given votes.\n    '
    sigs_with_committee_info = tuple(((sig, committee_index) for (committee_index, sig, pubkey) in votes if bls.verify(message_hash=message_hash, pubkey=pubkey, signature=sig, domain=domain)))
    try:
        (sigs, committee_indices) = zip(*sigs_with_committee_info)
    except ValueError:
        sigs = tuple()
        committee_indices = tuple()
    return (sigs, committee_indices)
Verify the given votes.
def verify_votes(message_hash: Hash32, votes: Iterable[Tuple[(ValidatorIndex, BLSSignature, BLSPubkey)]], domain: Domain) -> Tuple[(Tuple[(BLSSignature, ...)], Tuple[(ValidatorIndex, ...)])]:
    '\n    \n    '
    sigs_with_committee_info = tuple(((sig, committee_index) for (committee_index, sig, pubkey) in votes if bls.verify(message_hash=message_hash, pubkey=pubkey, signature=sig, domain=domain)))
    try:
        (sigs, committee_indices) = zip(*sigs_with_committee_info)
    except ValueError:
        sigs = tuple()
        committee_indices = tuple()
    return (sigs, committee_indices)