Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
chore(client): use writer.Close() instead of writer.Flush() (#651)
Browse files Browse the repository at this point in the history
Signed-off-by: smtmfft <[email protected]>
  • Loading branch information
smtmfft authored Mar 20, 2024
1 parent dd50068 commit d6d82cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func Compress(txList []byte) ([]byte, error) {
return nil, err
}

if err := w.Flush(); err != nil {
if err := w.Close(); err != nil {
return nil, err
}

Expand Down

0 comments on commit d6d82cc

Please sign in to comment.