Fix lint error

This commit is contained in:
IshaVenikar 2024-08-05 10:52:07 +05:30
parent f176a5889e
commit ca7e7ea4bc

View File

@ -413,7 +413,8 @@ func (q queryResolver) GetParticipantByAddress(ctx context.Context, address stri
func (q queryResolver) GetParticipantByNitroAddress(ctx context.Context, nitroAddress string) (*Participant, error) {
onboardingQueryClient := onboardingTypes.NewQueryClient(q.ctx)
participantResp, err := onboardingQueryClient.GetParticipantByNitroAddress(ctx, &onboardingTypes.QueryGetParticipantByNitroAddressRequest{NitroAddress: nitroAddress})
participantResp, err := onboardingQueryClient.GetParticipantByNitroAddress(
ctx, &onboardingTypes.QueryGetParticipantByNitroAddressRequest{NitroAddress: nitroAddress})
if err != nil {
return nil, err
}