Skip to content

Commit

Permalink
fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
krypdkat committed Apr 1, 2024
1 parent 37c021e commit 788b8cc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions qx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,15 @@ void qxOrderAction(const char* nodeIp, int nodePort,
packet.transaction.inputType = functionNumber;
packet.transaction.inputSize = sizeof(qxOrderAction_input);

// DEBUG LOG
LOG("\n-------------------------------------\n\n");
LOG("Sending QX action - functionNumber: %d\n", functionNumber);
LOG("Issuer: %s\n", pIssuerInQubicFormat);
LOG("assetName: %s\n", assetNameU1);
LOG("price: %lld\n", price);
LOG("numberOfShares: %lld\n", numberOfShares);
LOG("\n-------------------------------------\n\n");

// fill the input
memcpy(&packet.qoa.assetName, assetNameU1, 8);
memcpy(packet.qoa.issuer, issuer, 32);
Expand Down

0 comments on commit 788b8cc

Please sign in to comment.