fix Trim bug

This commit is contained in:
vyzo 2020-08-05 10:31:42 +03:00
parent 23003c4d55
commit 50e1650344

View File

@ -308,7 +308,7 @@ func (mc *msgChain) Trim(gasLimit int64, mp *MessagePool, ts *types.TipSet) {
mc.msgs = nil mc.msgs = nil
mc.valid = false mc.valid = false
} else { } else {
mc.msgs = mc.msgs[:i] mc.msgs = mc.msgs[:i+1]
} }
if mc.next != nil { if mc.next != nil {