diff --git a/app/app.go b/app/app.go index ad5c8839..c03a4063 100644 --- a/app/app.go +++ b/app/app.go @@ -431,7 +431,7 @@ func NewHaqq( authAddr, ) haqqBankKeeper := haqqbankkeeper.NewBaseKeeper( - appCodec, keys[banktypes.StoreKey], keys[distrtypes.StoreKey], app.AccountKeeper, app.DistrKeeper, app.GetSubspace(banktypes.ModuleName), app.BlockedAddrs(), + appCodec, keys[banktypes.StoreKey], keys[distrtypes.StoreKey], app.AccountKeeper, app.DistrKeeper, app.BlockedAddrs(), authAddr, ) app.BankKeeper = bankkeeper.NewBaseKeeper( appCodec, keys[banktypes.StoreKey], app.AccountKeeper, app.BlockedAddrs(), authAddr, diff --git a/x/bank/keeper/keeper.go b/x/bank/keeper/keeper.go index 255da405..aee0962c 100644 --- a/x/bank/keeper/keeper.go +++ b/x/bank/keeper/keeper.go @@ -10,7 +10,6 @@ import ( distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" ) @@ -29,11 +28,11 @@ func NewBaseKeeper( distrStoreKey storetypes.StoreKey, ak banktypes.AccountKeeper, dk distrkeeper.Keeper, - paramSpace paramtypes.Subspace, blockedAddrs map[string]bool, + authority string, ) BaseKeeper { return BaseKeeper{ - BaseKeeper: bankkeeper.NewBaseKeeper(cdc, storeKey, ak, paramSpace, blockedAddrs), + BaseKeeper: bankkeeper.NewBaseKeeper(cdc, storeKey, ak, blockedAddrs, authority), ak: ak, dk: dk, distrStoreKey: distrStoreKey,