From 06d65b6c1ef7443dcc6118fce90121b3a326dd8f Mon Sep 17 00:00:00 2001 From: John Letey Date: Thu, 16 Nov 2023 18:57:05 +0100 Subject: [PATCH] fix: remove `x/distribution` hooks --- app/app.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/app.go b/app/app.go index 5e5d3983..b279032c 100644 --- a/app/app.go +++ b/app/app.go @@ -381,9 +381,7 @@ func New( // register the staking hooks // NOTE: stakingKeeper above is passed by reference, so that it will contain these hooks - app.StakingKeeper = *app.StakingKeeper.SetHooks( - stakingtypes.NewMultiStakingHooks(app.DistrKeeper.Hooks(), app.SlashingKeeper.Hooks()), - ) + app.StakingKeeper = *app.StakingKeeper.SetHooks(app.SlashingKeeper.Hooks()) // ... other modules keepers