Fix autobatch

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera
2022-10-19 18:01:05 +02:00
parent 66bb149a65
commit 66f8af9b0c
+1 -1
View File
@@ -192,7 +192,7 @@ func (bs *AutobatchBlockstore) Get(ctx context.Context, c cid.Cid) (block.Block,
return v, nil
}
return bs.Get(ctx, c)
return nil, ipld.ErrNotFound{Cid: c}
}
func (bs *AutobatchBlockstore) DeleteBlock(context.Context, cid.Cid) error {