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.