Skip to content

Commit

Permalink
Merge pull request #278 from bobbieltd/patch-2
Browse files Browse the repository at this point in the history
Fix NaN , credit to 1rV1N-git
  • Loading branch information
Snipa22 committed Jan 19, 2018
2 parents ffc6b3d + 2cace14 commit 564a159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ function monitorNodes() {
}
rows.forEach(function (row) {
if (row.blockID < block.height - 3) {
global.support.sendEmail(global.config.general.adminEmail, "Pool server behind in blocks", "The pool server: "+row.hostname+" with IP: "+row.ip+" is "+block.height - row.blockID+ " blocks behind");
global.support.sendEmail(global.config.general.adminEmail, "Pool server behind in blocks", "The pool server: "+row.hostname+" with IP: "+row.ip+" is "+(block.height - row.blockID)+ " blocks behind");
}
}
);
Expand Down

0 comments on commit 564a159

Please sign in to comment.