fix: use correct querier endpoint (#659)

This commit is contained in:
Kevin Davis 2020-09-22 10:42:30 -04:00 committed by GitHub
parent fe38c4aa43
commit 2e250cc750
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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