Exclude localnet addresses
127.0.0.* addresses shouldn't show up in "masternode list"
This commit is contained in:
parent
9cb9b166a9
commit
6a93a7c47b
@ -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