Update chain/messagepool/pruning.go
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
This commit is contained in:
parent
8260184abc
commit
31296e6cdc
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user