fix(taiko_worker): fix a size limit check in commitL2Transactions (#245)

This commit is contained in:
maskpp 2024-05-09 16:24:54 +08:00 committed by GitHub
parent 8622b2cce0
commit 7a75d5e6b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -271,7 +271,7 @@ func (w *worker) commitL2Transactions(
txs.Pop()
continue
}
if len(b) >= int(maxBytesPerTxList) {
if len(b) > int(maxBytesPerTxList) {
break
}