mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-06 19:46:27 +00:00
Merge branch 'develop_v1.4.1' into develop
This commit is contained in:
@@ -86,12 +86,21 @@ const controller = async (req, res) => {
|
||||
|
||||
useClient.sendData(reqData);
|
||||
|
||||
let respData = null;
|
||||
let respData1 = null;
|
||||
|
||||
setInterval(function () {
|
||||
respData = Buffer.from([0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]);
|
||||
_timeOut = true;
|
||||
}, 10000);
|
||||
|
||||
useClient.ws.on('message', (message) => {
|
||||
winston.logger.debug(
|
||||
`${uniqueCode} [ PROCESSING LOADING-BALANCE TOPUP-2 ]: message from HSM MESSAGE WOY... ${generate.buf2hex(
|
||||
message
|
||||
)}`
|
||||
);
|
||||
|
||||
while (
|
||||
message[2] == 2 &&
|
||||
message[0] == _validationTrxID[0] &&
|
||||
|
||||
Reference in New Issue
Block a user