Switch last to calcPacketLength
This commit is contained in:
parent
c740a42957
commit
8231d59086
|
@ -504,7 +504,7 @@ public class MessagesTest {
|
||||||
|
|
||||||
assertEquals(expected, Hex.toHexString(getChainMessage.getPayload()).toUpperCase());
|
assertEquals(expected, Hex.toHexString(getChainMessage.getPayload()).toUpperCase());
|
||||||
|
|
||||||
byte[] size = ByteUtil.calcPacketSize( getChainMessage.getPayload());
|
byte[] size = ByteUtil.calcPacketLength( getChainMessage.getPayload());
|
||||||
|
|
||||||
assertEquals("00000067", Hex.toHexString(size));
|
assertEquals("00000067", Hex.toHexString(size));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue