Merge pull request #55 from nicksavers/master

Update to protocol version 22
This commit is contained in:
Nick Savers 2014-07-05 14:30:08 +02:00
commit 33d0a3c097
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ public class StaticMessages {
public static HelloMessage generateHelloMessage() {
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),
(short) 30303, peerIdBytes);
}