Really do not consider blocked networks local

This commit is contained in:
Pieter Wuille 2012-05-13 23:50:49 +02:00
parent 524843af01
commit 09b4e26a44

View file

@ -214,7 +214,7 @@ bool AddLocal(const CService& addr, int nScore)
if (!GetBoolArg("-discover", true) && nScore < LOCAL_MANUAL)
return false;
if (!IsLimited(addr))
if (IsLimited(addr))
return false;
printf("AddLocal(%s,%i)\n", addr.ToString().c_str(), nScore);