don't try to visit genesis parent blocks

This commit is contained in:
vyzo 2021-06-16 18:26:04 +03:00
parent 997f2c098b
commit 7b02673620

View File

@ -892,7 +892,9 @@ func (s *SplitStore) walk(ts *types.TipSet, boundary abi.ChainEpoch, inclMsgs bo
} }
} }
if hdr.Height > 0 {
toWalk = append(toWalk, hdr.Parents...) toWalk = append(toWalk, hdr.Parents...)
}
return nil return nil
} }