add missing return

This commit is contained in:
vyzo
2021-07-04 18:38:28 +03:00
parent 6a3cbea790
commit e472cacb3e
+2 -1
View File
@@ -246,8 +246,9 @@ func (s *SplitStore) Has(cid cid.Cid) (bool, error) {
if err != nil {
log.Errorf("error protecting object in compaction transaction: %s", err)
}
return true, err
}
return true, err
}
return s.cold.Has(cid)