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
39f82681
Unverified
Commit
39f82681
authored
Sep 23, 2020
by
rene
Committed by
GitHub
Sep 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/devp2p/internal/ethtest: update version in handshake (#21603)
parent
a25899f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
suite.go
cmd/devp2p/internal/ethtest/suite.go
+1
-1
No files found.
cmd/devp2p/internal/ethtest/suite.go
View file @
39f82681
...
@@ -83,7 +83,7 @@ func (c *Conn) handshake(t *utesting.T) Message {
...
@@ -83,7 +83,7 @@ func (c *Conn) handshake(t *utesting.T) Message {
// write protoHandshake to client
// write protoHandshake to client
pub0
:=
crypto
.
FromECDSAPub
(
&
c
.
ourKey
.
PublicKey
)[
1
:
]
pub0
:=
crypto
.
FromECDSAPub
(
&
c
.
ourKey
.
PublicKey
)[
1
:
]
ourHandshake
:=
&
Hello
{
ourHandshake
:=
&
Hello
{
Version
:
3
,
Version
:
5
,
Caps
:
[]
p2p
.
Cap
{{
Name
:
"eth"
,
Version
:
64
},
{
Name
:
"eth"
,
Version
:
65
}},
Caps
:
[]
p2p
.
Cap
{{
Name
:
"eth"
,
Version
:
64
},
{
Name
:
"eth"
,
Version
:
65
}},
ID
:
pub0
,
ID
:
pub0
,
}
}
...
...
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