Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ bool AppInit2(boost::thread_group& threadGroup)
}

//ignore masternodes below protocol version
nMasternodeMinProtocol = GetArg("-masternodeminprotocol", 70051);
nMasternodeMinProtocol = GetArg("-masternodeminprotocol", MIN_PEER_PROTO_VERSION);

int64_t nStart;

Expand Down
2 changes: 1 addition & 1 deletion src/masternodeman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ void CMasternodeMan::ProcessMessage(CNode* pfrom, std::string& strCommand, CData

// see if we have this masternode
CMasternode* pmn = this->Find(vin);
if(pmn != NULL)
if(pmn != NULL && pmn->protocolVersion >= nMasternodeMinProtocol)
{
// LogPrintf("dseep - Found corresponding mn for vin: %s\n", vin.ToString().c_str());
// take this only if it's newer
Expand Down