From a15609313741a4aeb95e378dd4231de4b50ed613 Mon Sep 17 00:00:00 2001 From: Omar Sy Date: Sun, 1 Sep 2024 17:46:31 +0000 Subject: [PATCH] fix: use a legacy router on gov keeper --- app/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app.go b/app/app.go index 2359d17..ba031d9 100644 --- a/app/app.go +++ b/app/app.go @@ -601,7 +601,7 @@ func NewTeritoriApp( govRouter.AddRoute(wasmtypes.RouterKey, wasmkeeper.NewWasmProposalHandler(app.WasmKeeper, enabledProposals)) //nolint:staticcheck } // Set legacy router for backwards compatibility with gov v1beta1 - app.GovKeeper.SetLegacyRouter(govRouter) + govKeeper.SetLegacyRouter(govRouter) var wasmStack ibcporttypes.IBCModule wasmStack = wasm.NewIBCHandler(app.WasmKeeper, app.IBCKeeper.ChannelKeeper, app.IBCFeeKeeper)