From 203b993e63e07e893a4d419b35ea9faf45d33099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Kn=C3=B6pke?= Date: Sat, 28 Oct 2017 20:29:25 +0200 Subject: [PATCH] Masternode Improvment --- src/masternode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/masternode.h b/src/masternode.h index 9cb4669d..a76904ba 100644 --- a/src/masternode.h +++ b/src/masternode.h @@ -240,13 +240,13 @@ class CMasternode if(nScanningErrorCount < 0) nScanningErrorCount = 0; } else { //all other codes are equally as bad nScanningErrorCount++; - /* Bitsenddev 04/08/2015 + // Bitsenddev 04/08/2015 if(nScanningErrorCount >= 4) { nScanningErrorCount = 0; LogPrintf("S-Reset Bad Masternodescore \n"); // Bitsenddev Set this for Debug } - */ + if(nScanningErrorCount > MASTERNODE_SCANNING_ERROR_THESHOLD*2) nScanningErrorCount = MASTERNODE_SCANNING_ERROR_THESHOLD*2; } }