mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-08-26 14:32:17 +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)
|
if (!GetBoolArg("-discover", true) && nScore < LOCAL_MANUAL)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if (!IsLimited(addr))
|
||||||
|
return false;
|
||||||
|
|
||||||
printf("AddLocal(%s,%i)\n", addr.ToString().c_str(), nScore);
|
printf("AddLocal(%s,%i)\n", addr.ToString().c_str(), nScore);
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user