Skip to content

Commit

Permalink
remove unused struct
Browse files Browse the repository at this point in the history
  • Loading branch information
gammazero committed Sep 20, 2024
1 parent 6a45c0e commit d4ba6bf
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions blockservice/blockservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -422,11 +422,6 @@ func (s *blockService) Close() error {
return s.exchange.Close()
}

type notifier interface {
NotifyNewBlock(context.Context, blocks.Block) error
NotifyNewBlocks(context.Context, ...blocks.Block) error
}

// Session is a helper type to provide higher level access to bitswap sessions
type Session struct {
createSession sync.Once
Expand Down

0 comments on commit d4ba6bf

Please sign in to comment.