From 8094665d1e0c4d9697cbdd11ef00fab98e13113e Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Wed, 29 May 2019 08:31:44 +0100 Subject: [PATCH] remove outdated comment in packet packer --- packet_packer.go | 1 - 1 file changed, 1 deletion(-) diff --git a/packet_packer.go b/packet_packer.go index 79ea80cb..64e4fe73 100644 --- a/packet_packer.go +++ b/packet_packer.go @@ -344,7 +344,6 @@ func (p *packetPacker) maybePackCryptoPacket() (*packedPacket, error) { func (p *packetPacker) composeNextPacket(maxFrameSize protocol.ByteCount) (payload, error) { var payload payload - // ACKs need to go first, so we recognize them in packedPacket.ToAckHandlerPacket() if ack := p.acks.GetAckFrame(protocol.Encryption1RTT); ack != nil { payload.ack = ack payload.length += ack.Length(p.version)