Skip to content

Commit 7f1c23c

Browse files
committed
feat: remove .Ready from contentrouter (no longer needed)
1 parent 0ae746c commit 7f1c23c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

routing/http/contentrouter/contentrouter.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@ func (c *contentRouter) ProvideMany(ctx context.Context, mhKeys []multihash.Mult
5555
return routing.ErrNotSupported
5656
}
5757

58-
// Ready is part of the existing `ProvideMany` interface.
59-
func (c *contentRouter) Ready() bool {
60-
return true
61-
}
62-
6358
// readProviderResponses reads bitswap records from the iterator into the given channel, dropping non-bitswap records.
6459
func readProviderResponses(iter iter.ResultIter[types.Record], ch chan<- peer.AddrInfo) {
6560
defer close(ch)

0 commit comments

Comments
 (0)