les: remove unused var AdvertiseProtocolVersions (#27405)

This commit is contained in:
Paul Lange 2023-06-06 10:34:22 +02:00 committed by devopsbo3
parent 210e688a5c
commit abd1ff83d0

View file

@ -42,7 +42,6 @@ const (
var (
ClientProtocolVersions = []uint{lpv2, lpv3, lpv4}
ServerProtocolVersions = []uint{lpv2, lpv3, lpv4}
AdvertiseProtocolVersions = []uint{lpv2} // clients are searching for the first advertised protocol in the list
)
// ProtocolLengths is the number of implemented message corresponding to different protocol versions.