fix putmany marking

This commit is contained in:
vyzo 2022-01-31 17:35:30 +02:00
parent 2b14bda6b8
commit 710fda49f0

View File

@ -438,7 +438,7 @@ func (s *SplitStore) PutMany(ctx context.Context, blks []blocks.Block) error {
if s.txnMarkSet != nil { if s.txnMarkSet != nil {
go func() { go func() {
defer s.txnLk.RUnlock() defer s.txnLk.RUnlock()
s.txnMarkSet.MarkMany(batch) s.markLiveRefs(batch)
}() }()
return nil return nil
} }