Skip to content

Commit

Permalink
fixed duplicate ibcports import
Browse files Browse the repository at this point in the history
  • Loading branch information
arnabghose997 committed Nov 25, 2023
1 parent 7197f3c commit f5d6baa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ import (
ibcclientclient "github.com/cosmos/ibc-go/v4/modules/core/02-client/client"
ibcclienttypes "github.com/cosmos/ibc-go/v4/modules/core/02-client/types"
ibcporttypes "github.com/cosmos/ibc-go/v4/modules/core/05-port/types"
porttypes "github.com/cosmos/ibc-go/v4/modules/core/05-port/types"
ibchost "github.com/cosmos/ibc-go/v4/modules/core/24-host"
ibckeeper "github.com/cosmos/ibc-go/v4/modules/core/keeper"

Expand Down Expand Up @@ -476,7 +475,7 @@ func NewHidnodeApp(
transferModule := transfer.NewAppModule(app.TransferKeeper)

// Create Transfer Stack
var transferStack porttypes.IBCModule
var transferStack ibcporttypes.IBCModule
transferStack = transfer.NewIBCModule(app.TransferKeeper)
transferStack = ibcfee.NewIBCMiddleware(transferStack, app.IBCFeeKeeper)

Expand Down Expand Up @@ -533,7 +532,7 @@ func NewHidnodeApp(
)

// Create fee enabled wasm ibc Stack
var wasmStack porttypes.IBCModule
var wasmStack ibcporttypes.IBCModule
wasmStack = wasm.NewIBCHandler(app.WasmKeeper, app.IBCKeeper.ChannelKeeper, app.IBCFeeKeeper)
wasmStack = ibcfee.NewIBCMiddleware(wasmStack, app.IBCFeeKeeper)

Expand Down

0 comments on commit f5d6baa

Please sign in to comment.