Skip to content

Commit

Permalink
fix gov router
Browse files Browse the repository at this point in the history
  • Loading branch information
harish551 committed Oct 17, 2023
1 parent bc296ab commit 1235d27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/keepers/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ func NewAppKeeper(
govModAddress,
)

appKeepers.GovKeeper.SetLegacyRouter(govRouter)
appKeepers.GovKeeper = *govKeeper.SetHooks(
govtypes.NewMultiGovHooks(
// register the governance hooks
Expand Down Expand Up @@ -474,6 +473,8 @@ func NewAppKeeper(
govModAddress,
)

appKeepers.GovKeeper.SetLegacyRouter(govRouter)

var ibcStack porttypes.IBCModule
ibcStack = transfer.NewIBCModule(appKeepers.TransferKeeper)
ibcStack = packetforward.NewIBCMiddleware(
Expand Down

0 comments on commit 1235d27

Please sign in to comment.