From 7a75d5e6b42ee57fed4df8713049c71e9b08657a Mon Sep 17 00:00:00 2001 From: maskpp Date: Thu, 9 May 2024 16:24:54 +0800 Subject: [PATCH] fix(taiko_worker): fix a size limit check in `commitL2Transactions` (#245) --- miner/taiko_worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miner/taiko_worker.go b/miner/taiko_worker.go index 0bb0f29cc0..3ffbe95ba3 100644 --- a/miner/taiko_worker.go +++ b/miner/taiko_worker.go @@ -271,7 +271,7 @@ func (w *worker) commitL2Transactions( txs.Pop() continue } - if len(b) >= int(maxBytesPerTxList) { + if len(b) > int(maxBytesPerTxList) { break }