Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo committed Jan 28, 2021
1 parent cd57694 commit 736d9e9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions node/modules/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
},
}
}

0 comments on commit 736d9e9

Please sign in to comment.