fix Trim bug
This commit is contained in:
parent
23003c4d55
commit
50e1650344
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user