From 2bbd739b800114408862cb9e8a5d641a55c7299d Mon Sep 17 00:00:00 2001 From: Kevin Atkinson Date: Wed, 5 Sep 2018 01:55:00 -0400 Subject: [PATCH] gx update go-cid and fix code to use new Cid type --- package.json | 4 ++-- routing.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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.