mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-11 15:48:05 +00:00
Really do not consider blocked networks local
This commit is contained in:
parent
524843af01
commit
09b4e26a44
@ -214,7 +214,7 @@ bool AddLocal(const CService& addr, int nScore)
|
|||||||
if (!GetBoolArg("-discover", true) && nScore < LOCAL_MANUAL)
|
if (!GetBoolArg("-discover", true) && nScore < LOCAL_MANUAL)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!IsLimited(addr))
|
if (IsLimited(addr))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
printf("AddLocal(%s,%i)\n", addr.ToString().c_str(), nScore);
|
printf("AddLocal(%s,%i)\n", addr.ToString().c_str(), nScore);
|
||||||
|
Loading…
Reference in New Issue
Block a user