Don't drop mnb-s for outdated MNs (#2131)

Instead just mark them as MASTERNODE_UPDATE_REQUIRED and proceed further.
This commit is contained in:
UdjinM6 2018-06-19 02:40:38 +03:00 committed by GitHub
parent 97b9b4fedc
commit 6bf389afb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -452,8 +452,8 @@ bool CMasternodeBroadcast::SimpleCheck(int& nDos)
}
if(nProtocolVersion < mnpayments.GetMinMasternodePaymentsProto()) {
LogPrintf("CMasternodeBroadcast::SimpleCheck -- ignoring outdated Masternode: masternode=%s nProtocolVersion=%d\n", outpoint.ToStringShort(), nProtocolVersion);
return false;
LogPrintf("CMasternodeBroadcast::SimpleCheck -- outdated Masternode: masternode=%s nProtocolVersion=%d\n", outpoint.ToStringShort(), nProtocolVersion);
nActiveState = MASTERNODE_UPDATE_REQUIRED;
}
CScript pubkeyScript;