diff --git a/node/modules/chain.go b/node/modules/chain.go index 1b84eeef1e1..74f6ba81393 100644 --- a/node/modules/chain.go +++ b/node/modules/chain.go @@ -161,11 +161,3 @@ func NewSyncer(params SyncerParams) (*chain.Syncer, error) { func NewSlashFilter(ds dtypes.MetadataDS) *slashfilter.SlashFilter { return slashfilter.New(ds) } - -func closerStopHook(c io.Closer) fx.Hook { - return fx.Hook{ - OnStop: func(_ context.Context) error { - return c.Close() - }, - } -}