add missing return

This commit is contained in:
vyzo 2021-07-02 10:09:12 +03:00
parent 6a3cbea790
commit e472cacb3e

View File

@ -246,8 +246,9 @@ func (s *SplitStore) Has(cid cid.Cid) (bool, error) {
if err != nil { if err != nil {
log.Errorf("error protecting object in compaction transaction: %s", err) log.Errorf("error protecting object in compaction transaction: %s", err)
} }
return true, err
} }
return true, err
} }
return s.cold.Has(cid) return s.cold.Has(cid)