Skip to content

Commit

Permalink
refactor: remove custom api paths in minting module
Browse files Browse the repository at this point in the history
  • Loading branch information
Lockwarr committed Feb 22, 2023
1 parent 6e514b6 commit 6bba026
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 79 deletions.
62 changes: 0 additions & 62 deletions x/mint/client/rest/query.go

This file was deleted.

14 changes: 0 additions & 14 deletions x/mint/client/rest/rest.go

This file was deleted.

3 changes: 0 additions & 3 deletions x/mint/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import (
"fmt"
"math/rand"

"github.com/Nolus-Protocol/nolus-core/x/mint/client/rest"

"github.com/gorilla/mux"
"github.com/grpc-ecosystem/grpc-gateway/runtime"
"github.com/spf13/cobra"
Expand Down Expand Up @@ -67,7 +65,6 @@ func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncod

// RegisterRESTRoutes registers the REST routes for the mint module.
func (AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Router) {
rest.RegisterRoutes(clientCtx, rtr)
}

// RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the mint module.
Expand Down

0 comments on commit 6bba026

Please sign in to comment.