refactor: remove unused AccountKeeper field (#25069)

This commit is contained in:
Zachary Becker
2025-08-01 15:22:16 +00:00
committed by GitHub
parent c87394ef10
commit 944a3bca90
+1 -2
View File
@@ -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,