Skip to content

Commit

Permalink
revert some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
forcodedancing committed Jul 3, 2023
1 parent 3bbe32b commit 45a76da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions plugins/api/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ func (s *server) withUrlEncForm(next http.HandlerFunc) http.HandlerFunc {
}
}

// withMultipartForm parses multipart/form-data forms
//
//nolint:unused
// withMultipartForm parses multipart/form-data forms
func (s *server) withMultipartForm(next http.HandlerFunc) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
contentType := r.Header.Get("Content-Type")
Expand Down
2 changes: 1 addition & 1 deletion plugins/tokens/issue/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func handleIssueToken(ctx sdk.Context, tokenMapper store.Mapper, bankKeeper bank
return issue(ctx, logger, tokenMapper, bankKeeper, token)
}

// Mint MiniToken is also handled by this function
//Mint MiniToken is also handled by this function
func handleMintToken(ctx sdk.Context, tokenMapper store.Mapper, bankKeeper bank.Keeper, msg MintMsg) sdk.Result {
symbol := strings.ToUpper(msg.Symbol)
logger := log.With("module", "token", "symbol", symbol, "amount", msg.Amount, "minter", msg.From)
Expand Down

0 comments on commit 45a76da

Please sign in to comment.