From 8590c9920045a575a91414ae806b0a4bcb7c665f Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Mon, 29 Jul 2024 15:21:44 +0530 Subject: [PATCH] Fix error message --- x/onboarding/keeper/query_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/onboarding/keeper/query_server.go b/x/onboarding/keeper/query_server.go index bdd5f5fc..d8ba7517 100644 --- a/x/onboarding/keeper/query_server.go +++ b/x/onboarding/keeper/query_server.go @@ -63,7 +63,7 @@ func (qs queryServer) GetParticipantByNitroAddress( ctx := sdk.UnwrapSDKContext(c) if req.NitroAddress == "" { - return nil, errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "cosmos (laconic) address is required") + return nil, errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "nitro address is required") } participant, err := qs.k.GetParticipantByNitroAddress(ctx, req.NitroAddress)