Update to fix XMR.to support.
This commit is contained in:
parent
373de9b631
commit
d349dd02ef
1 changed files with 2 additions and 2 deletions
|
|
@ -238,7 +238,7 @@ let xmrToQueue = async.queue(function (task, callback) {
|
|||
} else {
|
||||
console.log(JSON.stringify(body));
|
||||
global.mysql.query("INSERT INTO xmrtoTxn (id, address, paymentID, depositType, withdrawl, withdrawlType, returnAddress, returnAddressType, txnStatus, amountDeposited, amountSent) VALUES (?,?,?,?,?,?,?,?,?,?,?)",
|
||||
[txnID, body.xmr_receiving_address, body.xmr_required_payment_id, 'XMR', body.btc_dest_address, 'BTC', global.config.pool.address, 'XMR', body.state_str, global.support.decimalToCoin(body.xmr_amount_total), global.support.decimalToCoin(body.btc_amount)]).then(function () {
|
||||
[txnID, body.xmr_receiving_address, body.xmr_required_payment_id_long, 'XMR', body.btc_dest_address, 'BTC', global.config.pool.address, 'XMR', body.state_str, global.support.decimalToCoin(body.xmr_amount_total), global.support.decimalToCoin(body.btc_amount)]).then(function () {
|
||||
return intCallback(null, body, global.support.decimalToCoin(body.xmr_amount_total));
|
||||
}).catch(function (error) {
|
||||
return intCallback(error);
|
||||
|
|
@ -257,7 +257,7 @@ let xmrToQueue = async.queue(function (task, callback) {
|
|||
],
|
||||
priority: global.config.payout.priority,
|
||||
mixin: global.config.payout.mixIn,
|
||||
payment_id: orderStatus.xmr_required_payment_id
|
||||
payment_id: orderStatus.xmr_required_payment_id_long
|
||||
};
|
||||
debug("Payment Details: " + JSON.stringify(paymentDetails));
|
||||
paymentQueue.push(paymentDetails, function (body) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue