From ede57c0b12da22790eec9cf54e444dbf3e491ccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Fri, 10 Jul 2020 18:33:26 +0200 Subject: [PATCH] Fix retrieval datastore-key-not-found error --- node/repo/importmgr/mbstore.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/node/repo/importmgr/mbstore.go b/node/repo/importmgr/mbstore.go index 889752cf2..3b6058bee 100644 --- a/node/repo/importmgr/mbstore.go +++ b/node/repo/importmgr/mbstore.go @@ -8,7 +8,6 @@ import ( blocks "github.com/ipfs/go-block-format" "github.com/ipfs/go-cid" - "github.com/ipfs/go-datastore" blockstore "github.com/ipfs/go-ipfs-blockstore" ) @@ -63,7 +62,7 @@ func (m *multiReadBs) Get(cid cid.Cid) (blocks.Block, error) { } if merr == nil { - return nil, datastore.ErrNotFound + return nil, blockstore.ErrNotFound } return nil, merr