Skip to content

Commit

Permalink
Merge pull request #38 from initia-labs/fix/router-keeper
Browse files Browse the repository at this point in the history
fix: pass proper router keeper address
  • Loading branch information
beer-1 authored Dec 19, 2023
2 parents 03ddf9c + 46ec0c2 commit 35d6691
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,8 @@ func NewInitiaApp(

var transferStack porttypes.IBCModule
{
app.RouterKeeper = &routerkeeper.Keeper{}

// Create Transfer Keepers
transferKeeper := ibctransferkeeper.NewKeeper(
appCodec,
Expand All @@ -561,7 +563,7 @@ func NewInitiaApp(
transferIBCModule := ibctransfer.NewIBCModule(*app.TransferKeeper)

// setup package forward module for multi-hop forwarding
app.RouterKeeper = routerkeeper.NewKeeper(
*app.RouterKeeper = *routerkeeper.NewKeeper(
appCodec, keys[routertypes.StoreKey],
app.GetSubspace(routertypes.ModuleName),
app.TransferKeeper,
Expand Down

0 comments on commit 35d6691

Please sign in to comment.