diff --git a/ethereumj-core/src/test/java/org/ethereum/net/MessagesTest.java b/ethereumj-core/src/test/java/org/ethereum/net/MessagesTest.java index 77fa752f..84375b23 100644 --- a/ethereumj-core/src/test/java/org/ethereum/net/MessagesTest.java +++ b/ethereumj-core/src/test/java/org/ethereum/net/MessagesTest.java @@ -504,7 +504,7 @@ public class MessagesTest { assertEquals(expected, Hex.toHexString(getChainMessage.getPayload()).toUpperCase()); - byte[] size = ByteUtil.calcPacketSize( getChainMessage.getPayload()); + byte[] size = ByteUtil.calcPacketLength( getChainMessage.getPayload()); assertEquals("00000067", Hex.toHexString(size)); }