From fea7a938288d7b733370961e6c77a66f6b90fc3b Mon Sep 17 00:00:00 2001 From: 170210 Date: Thu, 18 Apr 2024 14:13:03 +0900 Subject: [PATCH] fix: fix for comment Signed-off-by: 170210 --- x/fswap/module.go | 5 ----- x/fswap/types/params.go | 14 -------------- 2 files changed, 19 deletions(-) diff --git a/x/fswap/module.go b/x/fswap/module.go index 4992b043fe..0e60e1d03d 100644 --- a/x/fswap/module.go +++ b/x/fswap/module.go @@ -4,7 +4,6 @@ import ( "encoding/json" "fmt" - "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" @@ -69,10 +68,6 @@ func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncod return genState.Validate() } -// RegisterRESTRoutes registers the capability module's REST service handlers. -func (AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Router) { -} - // RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module. func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux) { // this line is used by starport scaffolding # 2 diff --git a/x/fswap/types/params.go b/x/fswap/types/params.go index f3d55e7f9e..f4b9ae24dc 100644 --- a/x/fswap/types/params.go +++ b/x/fswap/types/params.go @@ -2,17 +2,8 @@ package types import ( "gopkg.in/yaml.v2" - - paramtypes "github.com/Finschia/finschia-sdk/x/params/types" ) -var _ paramtypes.ParamSet = (*Params)(nil) - -// ParamKeyTable the param key table for launch module -func ParamKeyTable() paramtypes.KeyTable { - return paramtypes.NewKeyTable().RegisterParamSet(&Params{}) -} - // NewParams creates a new Params instance func NewParams() Params { return Params{} @@ -23,11 +14,6 @@ func DefaultParams() Params { return NewParams() } -// ParamSetPairs get the params.ParamSet -func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs { - return paramtypes.ParamSetPairs{} -} - // Validate validates the set of params func (p Params) Validate() error { return nil