mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
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:
parent
97b9b4fedc
commit
6bf389afb8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user