Skip to content

Commit

Permalink
les: remove unused var AdvertiseProtocolVersions (#27405)
Browse files Browse the repository at this point in the history
  • Loading branch information
palango committed Jun 6, 2023
1 parent b8ee287 commit 4cf708d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions les/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4cf708d

Please sign in to comment.