Merge pull request #95 from crowning-/patch-1

Exclude localnet addresses
This commit is contained in:
Darkcoin 2015-01-01 13:32:07 -07:00
commit 71a529e78a

View File

@ -62,7 +62,7 @@ void ProcessMessageMasternode(CNode* pfrom, std::string& strCommand, CDataStream
return;
}
bool isLocal = addr.IsRFC1918();
bool isLocal = addr.IsRFC1918() || addr.IsLocal();
std::string vchPubKey(pubkey.begin(), pubkey.end());
std::string vchPubKey2(pubkey2.begin(), pubkey2.end());