diff --git a/x/hvt/client/rest/query.go b/x/hvt/client/rest/query.go index 20d06610..629ef042 100644 --- a/x/hvt/client/rest/query.go +++ b/x/hvt/client/rest/query.go @@ -28,7 +28,7 @@ func queryParamsHandlerFn(cliCtx context.CLIContext) http.HandlerFunc { return } - route := fmt.Sprintf("custom/%s/parameters", types.QuerierRoute) + route := fmt.Sprintf("custom/%s/%s", types.QuerierRoute, types.QueryGetParams) res, height, err := cliCtx.QueryWithData(route, nil) if err != nil {