forked from cerc-io/plugeth
cmd/devp2p/internal/ethtest: update version in handshake (#21603)
This commit is contained in:
parent
a25899f3dc
commit
39f8268147
@ -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 New Issue
Block a user