diff --git a/package.json b/package.json index 674d964..9668595 100644 --- a/package.json +++ b/package.json @@ -21,9 +21,9 @@ }, { "author": "whyrusleeping", - "hash": "QmZFbDTY9jfSBms2MchvYM9oYRbAF19K7Pby47yDBfpPrb", + "hash": "QmPSQnBKM9g7BaUcZCvswUJVscQ1ipjmwxN5PXCjkp9EQ7", "name": "go-cid", - "version": "0.8.0" + "version": "0.9.0" }, { "author": "whyrusleeping", diff --git a/routing.go b/routing.go index 33fe13b..9e7f112 100644 --- a/routing.go +++ b/routing.go @@ -26,10 +26,10 @@ type ContentRouting interface { // Provide adds the given cid to the content routing system. If 'true' is // passed, it also announces it, otherwise it is just kept in the local // accounting of which objects are being provided. - Provide(context.Context, *cid.Cid, bool) error + Provide(context.Context, cid.Cid, bool) error // Search for peers who are able to provide a given key - FindProvidersAsync(context.Context, *cid.Cid, int) <-chan pstore.PeerInfo + FindProvidersAsync(context.Context, cid.Cid, int) <-chan pstore.PeerInfo } // PeerRouting is a way to find information about certain peers.