From 3a10e270f456c76cf29477f2bdaece4d2c3aeaf2 Mon Sep 17 00:00:00 2001 From: krypdkat Date: Mon, 1 Apr 2024 15:53:33 +0700 Subject: [PATCH] fixed a bug --- qx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qx.cpp b/qx.cpp index 9d847d0..c61655c 100644 --- a/qx.cpp +++ b/qx.cpp @@ -474,7 +474,7 @@ void qxGetEntityOrder(const char* nodeIp, int nodePort, packet.header.setSize(sizeof(packet)); packet.header.randomizeDejavu(); packet.header.setType(RequestContractFunction::type()); - packet.rcf.inputSize = sizeof(qxGetAssetOrder_input); + packet.rcf.inputSize = sizeof(qxGetEntityOrder_input); packet.rcf.inputType = procedureNumber; packet.rcf.contractIndex = QX_CONTRACT_INDEX; memcpy(packet.qgeo.entity, entity, 32);