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

This commit is contained in:
rene 2020-09-23 17:48:47 +02:00 committed by GitHub
parent a25899f3dc
commit 39f8268147
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,7 @@ func (c *Conn) handshake(t *utesting.T) Message {
// write protoHandshake to client
pub0 := crypto.FromECDSAPub(&c.ourKey.PublicKey)[1:]
ourHandshake := &Hello{
Version: 3,
Version: 5,
Caps: []p2p.Cap{{Name: "eth", Version: 64}, {Name: "eth", Version: 65}},
ID: pub0,
}