Skip to content

Commit

Permalink
fix(taiko_worker): fix a size limit check in commitL2Transactions (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mask-pp committed May 9, 2024
1 parent 8622b2c commit 7a75d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miner/taiko_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ func (w *worker) commitL2Transactions(
txs.Pop()
continue
}
if len(b) >= int(maxBytesPerTxList) {
if len(b) > int(maxBytesPerTxList) {
break
}

Expand Down

0 comments on commit 7a75d5e

Please sign in to comment.