fix edge case in chain creation

This commit is contained in:
vyzo 2020-08-11 19:32:28 +03:00
parent 56e3f7da7d
commit d3baf2b9eb

View File

@ -693,7 +693,7 @@ func (mp *MessagePool) createMessageChains(actor address.Address, mset map[uint6
}
// check we have a sane set of messages to construct the chains
if i > 0 {
if i > skip {
msgs = msgs[skip:i]
} else {
return nil