Revert "les: remove unused var AdvertiseProtocolVersions (#27405)"

This reverts commit abd1ff83d0.
This commit is contained in:
devopsbo3 2023-11-10 12:27:53 -06:00 committed by GitHub
parent 0b81cd3197
commit 8f7eac56c9

View file

@ -42,6 +42,7 @@ 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.