From 75d9117602afe469cb9f96b4139397bc413166a4 Mon Sep 17 00:00:00 2001 From: Marko Date: Tue, 18 Apr 2023 16:10:20 +0200 Subject: [PATCH] refactor(crisis & vesting): remove global bech32 (#15852) Co-authored-by: Aleksandr Bezobchuk --- app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.go b/app.go index 5f939f2c87ba..0a34c622dd77 100644 --- a/app.go +++ b/app.go @@ -311,7 +311,7 @@ func NewSimApp( invCheckPeriod := cast.ToUint(appOpts.Get(server.FlagInvCheckPeriod)) app.CrisisKeeper = crisiskeeper.NewKeeper(appCodec, keys[crisistypes.StoreKey], invCheckPeriod, - app.BankKeeper, authtypes.FeeCollectorName, authtypes.NewModuleAddress(govtypes.ModuleName).String()) + app.BankKeeper, authtypes.FeeCollectorName, authtypes.NewModuleAddress(govtypes.ModuleName).String(), app.AccountKeeper.GetAddressCodec()) app.FeeGrantKeeper = feegrantkeeper.NewKeeper(appCodec, runtime.NewKVStoreService(keys[feegrant.StoreKey]), app.AccountKeeper)