From 6a63d55df667ebc67bff9a7e90cf96378b66021c Mon Sep 17 00:00:00 2001 From: joshuayabut Date: Thu, 29 Dec 2016 09:47:08 +0000 Subject: [PATCH] fixup! Bugfix #40: Payment processor doesn't know about coinbase-xfer cycling (#53) --- libs/paymentProcessor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/paymentProcessor.js b/libs/paymentProcessor.js index d75d0c3..7fb3d98 100644 --- a/libs/paymentProcessor.js +++ b/libs/paymentProcessor.js @@ -155,7 +155,7 @@ function SetupForPool(logger, poolOptions, setupFinished){ function listUnspent (addr, minConf, displayBool, callback) { daemon.cmd('listunspent', [minConf, 99999999999, [addr]], function (result) { //Check if payments failed because wallet doesn't have enough coins to pay for tx fees - if (result[0].error) { + if (result.error) { logger.error(logSystem, logComponent, 'Error trying to get coin balance with RPC listunspent.' + JSON.stringify(result[0].error)); callback = function (){};