Skip to content

Commit

Permalink
Merge pull request #95 from crowning-/patch-1
Browse files Browse the repository at this point in the history
Exclude localnet addresses
  • Loading branch information
darkcoinproject committed Jan 1, 2015
2 parents 9cb9b16 + 6a93a7c commit 71a529e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/masternode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down

0 comments on commit 71a529e

Please sign in to comment.