Fix for older node versions *cough* zdash *cough*
This commit is contained in:
Procrastinator 2017-04-10 12:58:04 -04:00 committed by GitHub
parent cb66d0d95c
commit 53852d6f0f
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ function SetupForPool(logger, poolOptions, setupFinished){
if (result[0].response.blocks !== null) {
finalRedisCommands.push(['hset', coin + ':stats', 'networkBlocks', result[0].response.blocks]);
finalRedisCommands.push(['hset', coin + ':stats', 'networkDiff', result[0].response.difficulty]);
finalRedisCommands.push(['hset', coin + ':stats', 'networkSols', result[0].response.networksolps]);
finalRedisCommands.push(['hset', coin + ':stats', 'networkSols', result[0].response.networkhashps]);
} else {
logger.error(logSystem, logComponent, "Error parse RPC call reponse.blocks tp `getmininginfo`." + JSON.stringify(result[0].response));
}