ackhandler: remove unused version parameter from constructor

This commit is contained in:
Marten Seemann 2022-12-24 12:12:36 +13:00
parent 576d85cd3d
commit 3affa1d911
6 changed files with 5 additions and 14 deletions

View file

@ -17,8 +17,7 @@ func NewAckHandler(
pers protocol.Perspective,
tracer logging.ConnectionTracer,
logger utils.Logger,
version protocol.VersionNumber,
) (SentPacketHandler, ReceivedPacketHandler) {
sph := newSentPacketHandler(initialPacketNumber, initialMaxDatagramSize, rttStats, clientAddressValidated, pers, tracer, logger)
return sph, newReceivedPacketHandler(sph, rttStats, logger, version)
return sph, newReceivedPacketHandler(sph, rttStats, logger)
}