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 committed Jun 18, 2018
1 parent 97b9b4f commit 6bf389a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/masternode.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 6bf389a

Please sign in to comment.