mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-11 07:37:54 +00:00
Do not consider blocked networks local
This commit is contained in:
parent
9fc0a15cd4
commit
1653f97c8f
@ -214,6 +214,9 @@ bool AddLocal(const CService& addr, int nScore)
|
||||
if (!GetBoolArg("-discover", true) && nScore < LOCAL_MANUAL)
|
||||
return false;
|
||||
|
||||
if (!IsLimited(addr))
|
||||
return false;
|
||||
|
||||
printf("AddLocal(%s,%i)\n", addr.ToString().c_str(), nScore);
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user