From 8d5d308dfbc465d111e044b0c4f245e3b1ef5c3a Mon Sep 17 00:00:00 2001 From: David Date: Fri, 21 Mar 2025 17:49:10 +0900 Subject: [PATCH] fix(taiko-client): fix an issue in `encodeAndCompressTxList` (#404) --- 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 bdf766cba3..889cc9983c 100644 --- a/miner/taiko_worker.go +++ b/miner/taiko_worker.go @@ -358,7 +358,7 @@ func compress(txListBytes []byte) ([]byte, error) { return nil, err } - if err := w.Flush(); err != nil { + if err := w.Close(); err != nil { return nil, err }