Merge pull request #278 from bobbieltd/patch-2

Fix NaN , credit to 1rV1N-git
This commit is contained in:
Snipa22
2018-01-19 12:02:07 -08:00
committed by GitHub
+1 -1
View File
@@ -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");
}
}
);