mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-23 06:18:34 +02:00
Update to include roundHashes
Update to fix an API bug with identifiers Moving payments that fail due to $$ to retry in 30 minutes - Need to block if it's payment ID based.
This commit is contained in:
@@ -298,6 +298,9 @@ let paymentQueue = async.queue(function (paymentDetails, callback) {
|
||||
if (body.hasOwnProperty('error')) {
|
||||
if (body.error.message === "not enough money"){
|
||||
console.error("Issue making payments, not enough money, will try later");
|
||||
setTimeout(function(){
|
||||
paymentQueue.push(paymentDetails, callback);
|
||||
}, 1800000);
|
||||
return callback(false);
|
||||
} else {
|
||||
console.error("Issue making payments" + JSON.stringify(body.error));
|
||||
|
||||
Reference in New Issue
Block a user