Returing that we had an error in shapeshift. Whoops!

This commit is contained in:
Alexander Blair
2017-02-16 10:50:52 -08:00
parent 5b75efcd32
commit 86a3026d50
+1 -1
View File
@@ -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");