diff --git a/chain/types/tipset.go b/chain/types/tipset.go index 44d41c29d..07eff3734 100644 --- a/chain/types/tipset.go +++ b/chain/types/tipset.go @@ -167,12 +167,16 @@ func (ts *TipSet) Equals(ots *TipSet) bool { return false } - if len(ts.blks) != len(ots.blks) { + if ts.height != ots.height { return false } - for i, b := range ts.blks { - if b.Cid() != ots.blks[i].Cid() { + if len(ts.cids) != len(ots.cids) { + return false + } + + for i, cid := range ts.cids { + if cid != ots.cids[i] { return false } }