Allow last ping time to be updated for masternodes in the EXPIRED state (#1083)

This commit is contained in:
Tim Flynn 2016-10-18 07:11:36 -04:00 committed by UdjinM6
parent 9db6b97979
commit cce7896d70

View File

@ -628,7 +628,7 @@ void CMasternodeMan::ProcessMessage(CNode* pfrom, std::string& strCommand, CData
LogPrint("masternode", "mnp - Masternode ping, vin: %s new\n", mnp.vin.ToString()); LogPrint("masternode", "mnp - Masternode ping, vin: %s new\n", mnp.vin.ToString());
int nDos = 0; int nDos = 0;
if(mnp.CheckAndUpdate(nDos)) return; if(mnp.CheckAndUpdate(nDos, false)) return;
if(nDos > 0) { if(nDos > 0) {
// if anything significant failed, mark that node // if anything significant failed, mark that node