Fixed bug in parsing balances for payment processing
This commit is contained in:
parent
1578ad87c0
commit
f999ebff18
@ -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){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user