fix(taiko-client): fix an issue in encodeAndCompressTxList (#404)

This commit is contained in:
David 2025-03-21 17:49:10 +09:00 committed by GitHub
parent 177750c73e
commit 8d5d308dfb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
}