diff --git a/internal/archiver/archiver.go b/internal/archiver/archiver.go index d64702bb7..b1e612409 100644 --- a/internal/archiver/archiver.go +++ b/internal/archiver/archiver.go @@ -86,8 +86,7 @@ func (arch *Archiver) isKnownBlob(id restic.ID, t restic.BlobType) bool { arch.knownBlobs.Insert(id) - _, found := arch.repo.Index().Lookup(id, t) - if found { + if arch.repo.Index().Has(id, t) { return true }