mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-01-20 16:59:17 +00:00
Merge pull request #55 from nicksavers/master
Update to protocol version 22
This commit is contained in:
commit
33d0a3c097
@ -28,7 +28,7 @@ public class StaticMessages {
|
|||||||
public static HelloMessage generateHelloMessage() {
|
public static HelloMessage generateHelloMessage() {
|
||||||
byte[] peerIdBytes = HashUtil.randomPeerId();
|
byte[] peerIdBytes = HashUtil.randomPeerId();
|
||||||
|
|
||||||
return new HelloMessage((byte) 0x15, (byte) 0x00,
|
return new HelloMessage((byte) 0x16, (byte) 0x00,
|
||||||
"EthereumJ [v0.5.1] by RomanJ", Byte.parseByte("00000111", 2),
|
"EthereumJ [v0.5.1] by RomanJ", Byte.parseByte("00000111", 2),
|
||||||
(short) 30303, peerIdBytes);
|
(short) 30303, peerIdBytes);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user