Unverified Commit 39f82681 authored by rene's avatar rene Committed by GitHub

cmd/devp2p/internal/ethtest: update version in handshake (#21603)

parent a25899f3
...@@ -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,
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment