forked from cerc-io/plugeth
les: remove unused var AdvertiseProtocolVersions
(#27405)
This commit is contained in:
parent
b8ee2877c5
commit
4cf708d30b
@ -40,9 +40,8 @@ const (
|
|||||||
|
|
||||||
// Supported versions of the les protocol (first is primary)
|
// Supported versions of the les protocol (first is primary)
|
||||||
var (
|
var (
|
||||||
ClientProtocolVersions = []uint{lpv2, lpv3, lpv4}
|
ClientProtocolVersions = []uint{lpv2, lpv3, lpv4}
|
||||||
ServerProtocolVersions = []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.
|
// ProtocolLengths is the number of implemented message corresponding to different protocol versions.
|
||||||
|
Loading…
Reference in New Issue
Block a user