From 944a3bca90989cd156e5737afabad6b535d35dd4 Mon Sep 17 00:00:00 2001 From: Zachary Becker Date: Fri, 1 Aug 2025 11:22:16 -0400 Subject: [PATCH] refactor: remove unused AccountKeeper field (#25069) --- x/staking/module.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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,