diff --git a/chain/messagepool/selection.go b/chain/messagepool/selection.go index 45c7a28ed..5786996c6 100644 --- a/chain/messagepool/selection.go +++ b/chain/messagepool/selection.go @@ -308,7 +308,7 @@ func (mc *msgChain) Trim(gasLimit int64, mp *MessagePool, ts *types.TipSet) { mc.msgs = nil mc.valid = false } else { - mc.msgs = mc.msgs[:i] + mc.msgs = mc.msgs[:i+1] } if mc.next != nil {