Update chain/messagepool/pruning.go

Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
This commit is contained in:
Whyrusleeping 2020-08-01 16:39:02 -07:00 committed by GitHub
parent 8260184abc
commit 31296e6cdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}