Fixed bug in parsing balances for payment processing

This commit is contained in:
Matthew Little 2014-05-29 16:56:36 -06:00
parent 1578ad87c0
commit f999ebff18

View File

@ -169,7 +169,7 @@ function SetupForPool(logger, poolOptions, setupFinished){
var workers = {};
for (var w in results[0]){
workers[w] = {balance: coinsToSatoshies(parseInt(results[0][w]))};
workers[w] = {balance: coinsToSatoshies(parseFloat(results[0][w]))};
}
var rounds = results[1].map(function(r){