From 8a6a73206e76217730cfcab3ead96c826986a3bd Mon Sep 17 00:00:00 2001 From: Jack Hadrill Date: Wed, 20 Nov 2024 00:25:21 +0000 Subject: [PATCH] Get history fix --- src/messages/history.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messages/history.ts b/src/messages/history.ts index 30dd6d9..f0630c1 100644 --- a/src/messages/history.ts +++ b/src/messages/history.ts @@ -2,7 +2,7 @@ import { MessageTypes } from "../common"; import { numberToUint16BE } from "../utilities/number"; import { packOutgoingPacket } from "./packet"; -const MESSAGE_TYPE = numberToUint16BE(MessageTypes.Keepalive); +const MESSAGE_TYPE = numberToUint16BE(MessageTypes.GetHistory); /** * Create an outgoing keepalive (0x0005) packet.