mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
Merge pull request #95 from crowning-/patch-1
Exclude localnet addresses
This commit is contained in:
commit
71a529e78a
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user