From 4d1e0456ffc7eb92c28ad5346c4c1b9fdb1ce0b8 Mon Sep 17 00:00:00 2001 From: RendyCog Date: Fri, 24 Nov 2023 09:39:29 +0700 Subject: [PATCH] Update client.go Fixed HeartBeat Packet Length. it should be 1, not 3. Tested on real exchange staging --- soupbintcp/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soupbintcp/client.go b/soupbintcp/client.go index 20ee056..ab6fa5b 100644 --- a/soupbintcp/client.go +++ b/soupbintcp/client.go @@ -148,7 +148,7 @@ func (c *Client) runHeartbeat() { func (c *Client) sendHeartbeat() { request := HeartbeatPacket{ Header: Header{ - Length: [2]byte{0, 3}, + Length: [2]byte{0, 1}, Type: PacketClientHeartbeat, }, }