Skip to content

Commit

Permalink
Don't drop mnb-s for outdated MNs (bitcoin#2131)
Browse files Browse the repository at this point in the history
Instead just mark them as MASTERNODE_UPDATE_REQUIRED and proceed further.
  • Loading branch information
UdjinM6 authored and Michael Polzer committed Jul 2, 2018
1 parent 7e33650 commit b607e74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/masternode.cpp
Expand Up @@ -464,8 +464,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;
Expand Down

0 comments on commit b607e74

Please sign in to comment.