quiet linter

it's a false positive, function doesn't escape.
This commit is contained in:
vyzo 2021-07-05 23:53:45 +03:00
parent bd436ab9de
commit 51ab891d5c

View File

@ -884,7 +884,7 @@ func (s *SplitStore) doCompact(curTs *types.TipSet) error {
return markSet.Mark(c)
},
func(cm cid.Cid) error {
log.Warnf("missing object reference %s in %s", cm, c)
log.Warnf("missing object reference %s in %s", cm, c) //nolint
s.txnRefsMx.Lock()
s.txnMissing[cm] = struct{}{}
s.txnRefsMx.Unlock()