From d0ee1a70441d3c1ff60cecbdceb15841454fe5f5 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Thu, 25 Nov 2021 00:19:53 +0100 Subject: [PATCH] Fixed gtter payloadSize --- src/dto/Packet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dto/Packet.js b/src/dto/Packet.js index dd1149b..452290b 100644 --- a/src/dto/Packet.js +++ b/src/dto/Packet.js @@ -33,7 +33,7 @@ class Packet{ payloadData; get payloadSize(){ - return payloadData.length/2; + return this.payloadData.length; } packetType;