Skip to content

Commit 4cf708d

Browse files
authored
les: remove unused var AdvertiseProtocolVersions (#27405)
1 parent b8ee287 commit 4cf708d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

les/protocol.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@ const (
4040

4141
// Supported versions of the les protocol (first is primary)
4242
var (
43-
ClientProtocolVersions = []uint{lpv2, lpv3, lpv4}
44-
ServerProtocolVersions = []uint{lpv2, lpv3, lpv4}
45-
AdvertiseProtocolVersions = []uint{lpv2} // clients are searching for the first advertised protocol in the list
43+
ClientProtocolVersions = []uint{lpv2, lpv3, lpv4}
44+
ServerProtocolVersions = []uint{lpv2, lpv3, lpv4}
4645
)
4746

4847
// ProtocolLengths is the number of implemented message corresponding to different protocol versions.

0 commit comments

Comments
 (0)