mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-01-27 20:26:07 +00:00
Use byte parsing instead of binary literal
This commit is contained in:
parent
b9d242e497
commit
1a4f00a411
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user