Skip to content

Commit b05d3c9

Browse files
authored
fix(mpool): block filled on message equality (#13193)
1 parent 4351d40 commit b05d3c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chain/messagepool/selection.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ func (mp *MessagePool) selectMessagesGreedy(ctx context.Context, curTs, ts *type
485485
result := mp.selectPriorityMessages(ctx, pending, baseFee, ts)
486486

487487
// have we filled the block?
488-
if result.gasLimit < minGas || len(result.msgs) > buildconstants.BlockMessageLimit {
488+
if result.gasLimit < minGas || len(result.msgs) >= buildconstants.BlockMessageLimit {
489489
return result, nil
490490
}
491491

0 commit comments

Comments
 (0)