mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
Disable local addresses
This commit is contained in:
parent
75b169e2aa
commit
80144a47ab
@ -62,7 +62,7 @@ void ProcessMessageMasternode(CNode* pfrom, std::string& strCommand, CDataStream
|
||||
return;
|
||||
}
|
||||
|
||||
bool isLocal = false; // addr.IsRFC1918();
|
||||
bool isLocal = addr.IsRFC1918();
|
||||
std::string vchPubKey(pubkey.begin(), pubkey.end());
|
||||
std::string vchPubKey2(pubkey2.begin(), pubkey2.end());
|
||||
|
||||
@ -212,7 +212,7 @@ void ProcessMessageMasternode(CNode* pfrom, std::string& strCommand, CDataStream
|
||||
if(mn.vin.prevout == vin.prevout) {
|
||||
// LogPrintf("dseep - Found corresponding mn for vin: %s\n", vin.ToString().c_str());
|
||||
// take this only if it's newer
|
||||
if(mn.lastDseep < sigTime){
|
||||
if(mn.lastDseep < sigTime){
|
||||
std::string strMessage = mn.addr.ToString() + boost::lexical_cast<std::string>(sigTime) + boost::lexical_cast<std::string>(stop);
|
||||
|
||||
std::string errorMessage = "";
|
||||
|
Loading…
Reference in New Issue
Block a user