Skip to content

Commit 203b993

Browse files
author
Christian Knöpke
committed
Masternode Improvment
1 parent 6142c16 commit 203b993

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/masternode.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,13 +240,13 @@ class CMasternode
240240
if(nScanningErrorCount < 0) nScanningErrorCount = 0;
241241
} else { //all other codes are equally as bad
242242
nScanningErrorCount++;
243-
/* Bitsenddev 04/08/2015
243+
// Bitsenddev 04/08/2015
244244
if(nScanningErrorCount >= 4)
245245
{
246246
nScanningErrorCount = 0;
247247
LogPrintf("S-Reset Bad Masternodescore \n"); // Bitsenddev Set this for Debug
248248
}
249-
*/
249+
250250
if(nScanningErrorCount > MASTERNODE_SCANNING_ERROR_THESHOLD*2) nScanningErrorCount = MASTERNODE_SCANNING_ERROR_THESHOLD*2;
251251
}
252252
}

0 commit comments

Comments
 (0)