Browse Source

decimal format diff

pull/1/head
webworker01 6 years ago
parent
commit
167971af34
No known key found for this signature in database GPG Key ID: 7C4B4F666DB24C9F
  1. 2
      libs/networkStats.js

2
libs/networkStats.js

@ -70,7 +70,7 @@ function SetupForStats(logger, poolOptions, setupFinished) {
finalRedisCommands.push(['hset', coin + ':stats', 'networkBlocks', result[0].response.blocks]);
}
if (result[0].response.difficulty !== null) {
finalRedisCommands.push(['hset', coin + ':stats', 'networkDiff', result[0].response.difficulty]);
finalRedisCommands.push(['hset', coin + ':stats', 'networkDiff', result[0].response.difficulty.toFixed(2)]);
}
if (result[0].response.networkhashps !== null) {
finalRedisCommands.push(['hset', coin + ':stats', 'networkSols', result[0].response.networkhashps]);

Loading…
Cancel
Save