Don't enforce walking receipt tree during compaction

This commit is contained in:
zenground0
2023-03-17 09:29:18 -06:00
parent eed1a098c6
commit 252387768d
+1 -1
View File
@@ -983,7 +983,7 @@ func (s *SplitStore) walkChain(ts *types.TipSet, inclState, inclMsgs abi.ChainEp
}
atomic.AddInt64(szWalk, sz)
sz, err := s.walkObject(hdr.ParentMessageReceipts, visitor, fHot)
sz, err := s.walkObjectIncomplete(hdr.ParentMessageReceipts, visitor, fHot, stopWalk)
if err != nil {
return xerrors.Errorf("error walking message receipts (cid: %s): %w", hdr.ParentMessageReceipts, err)
}