diff --git a/x/staking/module.go b/x/staking/module.go index 4309db371f..da4882035d 100644 --- a/x/staking/module.go +++ b/x/staking/module.go @@ -52,7 +52,6 @@ var ( // AppModuleBasic defines the basic application module used by the staking module. type AppModuleBasic struct { cdc codec.Codec - ak types.AccountKeeper } // Name returns the staking module's name. @@ -119,7 +118,7 @@ func NewAppModule( ls exported.Subspace, ) AppModule { return AppModule{ - AppModuleBasic: AppModuleBasic{cdc: cdc, ak: ak}, + AppModuleBasic: AppModuleBasic{cdc: cdc}, keeper: keeper, accountKeeper: ak, bankKeeper: bk,