Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
4cf708d3
Unverified
Commit
4cf708d3
authored
Jun 06, 2023
by
Paul Lange
Committed by
GitHub
Jun 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
les: remove unused var `AdvertiseProtocolVersions` (#27405)
parent
b8ee2877
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
protocol.go
les/protocol.go
+2
-3
No files found.
les/protocol.go
View file @
4cf708d3
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment