diff --git a/packet_packer.go b/packet_packer.go index 231508c8..b1a2258f 100644 --- a/packet_packer.go +++ b/packet_packer.go @@ -323,9 +323,6 @@ func (p *packetPacker) MaybePackAckPacket(handshakeConfirmed bool) (*packedPacke } encLevel = protocol.Encryption1RTT } - if ack == nil { - return nil, nil - } payload := &payload{ ack: ack, length: ack.Length(p.version),