aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-05-13 23:50:49 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2012-05-13 23:50:55 +0200
commit09b4e26a446c302f0cce176bf572da956bb2515e (patch)
treec39faf1a6075d67d6235f84979e41c4fe45c10e5
parent524843af01a6983c9f6c4b48389f90fdac5d59d6 (diff)
Really do not consider blocked networks local
-rw-r--r--src/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 698aa91de1..88578cdcb3 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -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);