From 31296e6cdc4858d219ce4ef4901cd72a05df0ab1 Mon Sep 17 00:00:00 2001 From: Whyrusleeping Date: Sat, 1 Aug 2020 16:39:02 -0700 Subject: [PATCH] Update chain/messagepool/pruning.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ɓukasz Magiera --- chain/messagepool/pruning.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/messagepool/pruning.go b/chain/messagepool/pruning.go index 588b4c2d8..e5e66b72e 100644 --- a/chain/messagepool/pruning.go +++ b/chain/messagepool/pruning.go @@ -179,7 +179,7 @@ func (mp *MessagePool) pruneMessages(ctx context.Context, ts *types.TipSet) erro } for n := range meta.msgs { - if n+len(out) > mp.maxTxPoolSizeLo { + if n+len(out) >= mp.maxTxPoolSizeLo { break }