Skip to content

Commit

Permalink
feat: remove .Ready from contentrouter (no longer needed)
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Aug 9, 2023
1 parent 0ae746c commit 7f1c23c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions routing/http/contentrouter/contentrouter.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@ func (c *contentRouter) ProvideMany(ctx context.Context, mhKeys []multihash.Mult
return routing.ErrNotSupported
}

// Ready is part of the existing `ProvideMany` interface.
func (c *contentRouter) Ready() bool {
return true
}

// readProviderResponses reads bitswap records from the iterator into the given channel, dropping non-bitswap records.
func readProviderResponses(iter iter.ResultIter[types.Record], ch chan<- peer.AddrInfo) {
defer close(ch)
Expand Down

0 comments on commit 7f1c23c

Please sign in to comment.