Fix error message
All checks were successful
Build / build (pull_request) Successful in 1m55s
Protobuf / lint (pull_request) Successful in 14s
E2E Tests / test-e2e (pull_request) Successful in 2m57s
Integration Tests / test-integration (pull_request) Successful in 1m50s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 7m2s
Unit Tests / test-unit (pull_request) Successful in 1m48s
SDK Tests / sdk_tests (pull_request) Successful in 8m16s
SDK Tests / sdk_tests_auctions (pull_request) Successful in 12m34s

This commit is contained in:
Prathamesh Musale 2024-07-29 15:21:44 +05:30
parent 620c5224f7
commit 8590c99200

View File

@ -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)