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 }