From d3baf2b9ebbff68f7e6ff6317ec5c30ee863e9c9 Mon Sep 17 00:00:00 2001 From: vyzo Date: Tue, 11 Aug 2020 19:32:28 +0300 Subject: [PATCH] fix edge case in chain creation --- chain/messagepool/selection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/messagepool/selection.go b/chain/messagepool/selection.go index fdcb71c54..64d845e02 100644 --- a/chain/messagepool/selection.go +++ b/chain/messagepool/selection.go @@ -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