From 68bea9ea7da901e5f97951ef31236d8117db826b Mon Sep 17 00:00:00 2001 From: "Eugene@ubuntu" Date: Thu, 27 Mar 2014 03:49:08 +0400 Subject: [PATCH] some syntax cleaning --- libs/paymentProcessor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/paymentProcessor.js b/libs/paymentProcessor.js index 07afffc..b33760f 100644 --- a/libs/paymentProcessor.js +++ b/libs/paymentProcessor.js @@ -418,7 +418,7 @@ function SetupForPool(logger, poolOptions){ if (!processingConfig.feeWithdrawalThreshold) return; - logger.debug(logSystem, logComponent, 'Trying to withdrawal profit'); + logger.debug(logSystem, logComponent, 'Profit withdrawal started'); daemon.cmd('getbalance', [processingConfig.feeCollectAccount], function(results){ // We have to pay some tx fee here too but maybe we shoudn't really care about it too much as long as fee is less @@ -438,7 +438,7 @@ function SetupForPool(logger, poolOptions){ var withdrawalAmount = results[0].response - paytxfee; if (withdrawalAmount < processingConfig.feeWithdrawalThreshold){ - logger.debug(logSystem, logComponent, 'Not enough profit to withdrawal yet'); + logger.debug(logSystem, logComponent, 'Not enough profit to withdraw yet'); } else{ @@ -447,7 +447,7 @@ function SetupForPool(logger, poolOptions){ daemon.cmd('sendmany', [processingConfig.feeCollectAccount, withdrawal], function(results){ if (results[0].error){ - logger.debug(logSystem, logComponent, 'Withdrawal profit finished - error with sendmany ' + JSON.stringify(results[0].error)); + logger.debug(logSystem, logComponent, 'Profit withdrawal finished - error with sendmany ' + JSON.stringify(results[0].error)); return; } logger.debug(logSystem, logComponent, 'Profit sent, a total of ' + withdrawalAmount + ' ' + poolOptions.coin.symbol +