From 8d6cc7e9ba7d171960fb62c2b4a1a56aec0ac796 Mon Sep 17 00:00:00 2001 From: harish Date: Thu, 18 Nov 2021 19:02:08 +0530 Subject: [PATCH] fix: incorrect order of args for createDenom funciton --- client/rest/tx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/rest/tx.go b/client/rest/tx.go index 9571f09..4ff99c5 100644 --- a/client/rest/tx.go +++ b/client/rest/tx.go @@ -68,9 +68,9 @@ func createDenomHandlerFn(cliCtx client.Context) http.HandlerFunc { req.Symbol, req.Name, req.Schema, - req.Sender.String(), req.Description, req.PreviewURI, + req.Sender.String(), ) if err := msg.ValidateBasic(); err != nil { rest.WriteErrorResponse(w, http.StatusBadRequest, err.Error())