From 4cf708d30be4d6ddde1848479fd71479746555f4 Mon Sep 17 00:00:00 2001 From: Paul Lange Date: Tue, 6 Jun 2023 10:34:22 +0200 Subject: [PATCH] les: remove unused var `AdvertiseProtocolVersions` (#27405) --- les/protocol.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/les/protocol.go b/les/protocol.go index dced7039e..cfebdbfb9 100644 --- a/les/protocol.go +++ b/les/protocol.go @@ -40,9 +40,8 @@ const ( // Supported versions of the les protocol (first is primary) 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 + ClientProtocolVersions = []uint{lpv2, lpv3, lpv4} + ServerProtocolVersions = []uint{lpv2, lpv3, lpv4} ) // ProtocolLengths is the number of implemented message corresponding to different protocol versions.