mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Revert "les: remove unused var AdvertiseProtocolVersions (#27405)"
This reverts commit abd1ff83d0.
This commit is contained in:
parent
0b81cd3197
commit
8f7eac56c9
1 changed files with 3 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue