diff --git a/interface.go b/interface.go index 675592f..42fe6a8 100644 --- a/interface.go +++ b/interface.go @@ -25,8 +25,8 @@ type Interface interface { // type Exchanger interface // Fetcher is an object that can be used to retrieve blocks type Fetcher interface { // GetBlock returns the block associated with a given key. - GetBlock(context.Context, *cid.Cid) (blocks.Block, error) - GetBlocks(context.Context, []*cid.Cid) (<-chan blocks.Block, error) + GetBlock(context.Context, cid.Cid) (blocks.Block, error) + GetBlocks(context.Context, []cid.Cid) (<-chan blocks.Block, error) } // SessionExchange is an exchange.Interface which supports diff --git a/package.json b/package.json index c8de6c7..ecf6e9a 100644 --- a/package.json +++ b/package.json @@ -9,15 +9,15 @@ "gxDependencies": [ { "author": "stebalien", - "hash": "QmWAzSEoqZ6xU6pu8yL8e5WaMb7wtbfbhhN4p1DknUPtr3", + "hash": "QmRcHuYzAyswytBuMF78rj3LTChYszomRFXNg4685ZN1WM", "name": "go-block-format", - "version": "0.1.11" + "version": "0.2.0" }, { "author": "whyrusleeping", - "hash": "QmZFbDTY9jfSBms2MchvYM9oYRbAF19K7Pby47yDBfpPrb", + "hash": "QmPSQnBKM9g7BaUcZCvswUJVscQ1ipjmwxN5PXCjkp9EQ7", "name": "go-cid", - "version": "0.8.0" + "version": "0.9.0" } ], "gxVersion": "0.12.1",