Skip to content

Commit

Permalink
fix: incorrect order of args for createDenom funciton
Browse files Browse the repository at this point in the history
  • Loading branch information
harish551 committed Nov 18, 2021
1 parent 33bce27 commit 8d6cc7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/rest/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 8d6cc7e

Please sign in to comment.