Use byte parsing instead of binary literal

This commit is contained in:
nicksavers 2014-06-30 20:47:51 +02:00
parent b9d242e497
commit 1a4f00a411
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ public class StaticMessages {
byte[] peerIdBytes = HashUtil.randomPeerId();
return new HelloMessage((byte) 0x14, (byte) 0x00,
"EthereumJ [v0.5.1] by RomanJ", (byte) 0b00000111,
"EthereumJ [v0.5.1] by RomanJ", Byte.parseByte("00000111", 2),
(short) 30303, peerIdBytes);
}
}