prysmaticlabs / prysm

Usage of both value and pointer receivers GO-W1029
Anti-pattern
Major
1 occurrence in this check
Type "beaconApiValidatorClient" has both value and pointer receivers
 9	ethpb "github.com/prysmaticlabs/prysm/v5/proto/prysm/v1alpha1"
10)
11
12func (c beaconApiValidatorClient) submitAttestations(ctx context.Context, attestations []*ethpb.Attestation) ([]*ethpb.AttestResponse, error) {13	for _, a := range attestations {
14		if err := checkNilAttestation(a); err != nil {
15			return nil, err