fix possible typo in paymentProcessor

This commit is contained in:
Eugene@ubuntu 2014-03-26 05:27:28 +04:00
parent 8d939776d4
commit add62039db
1 changed files with 3 additions and 3 deletions

View File

@ -365,9 +365,9 @@ function SetupForPool(logger, poolOptions){
var addressAmounts = {};
var totalAmountUnits = 0;
for (var address in workerPayments){
var coiUnits = parseFloat((workerPayments[address] / magnitude).toFixed(coinPrecision));;
addressAmounts[address] = coiUnits;
totalAmountUnits += coiUnits;
var coinUnits = parseFloat((workerPayments[address] / magnitude).toFixed(coinPrecision));;
addressAmounts[address] = coinUnits;
totalAmountUnits += coinUnits;
}
logger.debug(logSystem, logComponent, 'Payments about to be sent to: ' + JSON.stringify(addressAmounts));