Fix autobatch

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2022-10-19 17:56:52 +02:00
parent 66bb149a65
commit 66f8af9b0c
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

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 {