forked from cerc-io/laconicd
Fix lint error
This commit is contained in:
parent
f176a5889e
commit
ca7e7ea4bc
@ -413,7 +413,8 @@ func (q queryResolver) GetParticipantByAddress(ctx context.Context, address stri
|
|||||||
|
|
||||||
func (q queryResolver) GetParticipantByNitroAddress(ctx context.Context, nitroAddress string) (*Participant, error) {
|
func (q queryResolver) GetParticipantByNitroAddress(ctx context.Context, nitroAddress string) (*Participant, error) {
|
||||||
onboardingQueryClient := onboardingTypes.NewQueryClient(q.ctx)
|
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 {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user