Skip to content

Commit

Permalink
remove obsolete comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jxsl13 committed Sep 18, 2024
1 parent 304d32c commit 9386dbd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions protocol7/packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,6 @@ func (packet *Packet) Unpack(data []byte) (err error) {
}

if packet.Header.Flags.Compression {
// TODO: try avoiding repeated initialization of the huffman tree structure
// move this into the Packet struct or even further up
payload, err = huffman.Decompress(payload)
if err != nil {
return err
Expand Down

0 comments on commit 9386dbd

Please sign in to comment.