mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-15 20:46:40 +00:00
cmd/devp2p/internal/ethtest: update version in handshake (#21603)
This commit is contained in:
parent
a25899f3dc
commit
39f8268147
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue