From 86a3026d5068bf1f2e97cc7b9c364d1e1182ca30 Mon Sep 17 00:00:00 2001 From: Alexander Blair Date: Thu, 16 Feb 2017 10:50:52 -0800 Subject: [PATCH] Returing that we had an error in shapeshift. Whoops! --- lib/payments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/payments.js b/lib/payments.js index 43b7539..9290a03 100644 --- a/lib/payments.js +++ b/lib/payments.js @@ -128,7 +128,7 @@ let shapeshiftQueue = async.queue(function (task, callback) { ], function (err, result) { if (err) { console.error("Error processing shapeshift txn: " + JSON.stringify(err)); - callback(); + callback(true); } else { // Need to fill out this data pronto! console.log("Processed ShapeShift transaction for: " + address + " Paid out: " + result + " payments in the db");