diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-05-13 23:50:49 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-05-13 23:50:55 +0200 |
commit | 09b4e26a446c302f0cce176bf572da956bb2515e (patch) | |
tree | c39faf1a6075d67d6235f84979e41c4fe45c10e5 | |
parent | 524843af01a6983c9f6c4b48389f90fdac5d59d6 (diff) |
Really do not consider blocked networks local
-rw-r--r-- | src/net.cpp | 2 |
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); |