Skip to content

Commit

Permalink
Fix the overzealous fix (#10366)
Browse files Browse the repository at this point in the history
Co-authored-by: zenground0 <[email protected]>
  • Loading branch information
ZenGround0 and ZenGround0 authored Feb 28, 2023
1 parent 8076101 commit 544af75
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions blockstore/splitstore/splitstore_compact.go
Original file line number Diff line number Diff line change
Expand Up @@ -942,8 +942,8 @@ func (s *SplitStore) walkChain(ts *types.TipSet, inclState, inclMsgs abi.ChainEp
if err != nil {
return xerrors.Errorf("error computing cid reference to parent tipset")
}
if err := fHot(pRef); err != nil {
return xerrors.Errorf("error marking parent tipset cid reference")
if err := s.walkObjectIncomplete(pRef, visitor, fHot, stopWalk); err != nil {
return xerrors.Errorf("error walking parent tipset cid reference")
}

// message are retained if within the inclMsgs boundary
Expand Down Expand Up @@ -1001,8 +1001,8 @@ func (s *SplitStore) walkChain(ts *types.TipSet, inclState, inclMsgs abi.ChainEp
if err != nil {
return xerrors.Errorf("error computing cid reference to parent tipset")
}
if err := fHot(hRef); err != nil {
return xerrors.Errorf("error marking parent tipset cid reference")
if err := s.walkObjectIncomplete(hRef, visitor, fHot, stopWalk); err != nil {
return xerrors.Errorf("error walking parent tipset cid reference")
}

for len(toWalk) > 0 {
Expand Down

0 comments on commit 544af75

Please sign in to comment.