Skip to content

Commit

Permalink
Revert "les: remove unused var AdvertiseProtocolVersions (ethereum#…
Browse files Browse the repository at this point in the history
…27405)"

This reverts commit abd1ff8.
  • Loading branch information
devopsbo3 authored Nov 10, 2023
1 parent 0b81cd3 commit 8f7eac5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions les/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ const (

// Supported versions of the les protocol (first is primary)
var (
ClientProtocolVersions = []uint{lpv2, lpv3, lpv4}
ServerProtocolVersions = []uint{lpv2, lpv3, lpv4}
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.
Expand Down

0 comments on commit 8f7eac5

Please sign in to comment.