aboutsummaryrefslogtreecommitdiff
path: root/src/torcontrol.cpp
diff options
context:
space:
mode:
authorBen Woosley <ben.woosley@gmail.com>2019-01-09 16:41:37 -0800
committerBen Woosley <ben.woosley@gmail.com>2019-01-13 22:50:36 -0800
commitd6b076c17bc7d513243711563b262524ef0ba74c (patch)
tree0313896bea97550b6afe38e35f3fd657333ff550 /src/torcontrol.cpp
parent0ed279cb4e4198e20a552c279c09134626bbb0bd (diff)
downloadbitcoin-d6b076c17bc7d513243711563b262524ef0ba74c.tar.xz
Drop IsLimited in favor of IsReachable
These two methods have had the same meaning, but inverted, since 110b62f06992d0fb989153afff2dc3aea62a674f. Having one name for a single concept simplifies the code.
Diffstat (limited to 'src/torcontrol.cpp')
-rw-r--r--src/torcontrol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/torcontrol.cpp b/src/torcontrol.cpp
index c9ee6f9f81..550e23b222 100644
--- a/src/torcontrol.cpp
+++ b/src/torcontrol.cpp
@@ -527,7 +527,7 @@ void TorController::auth_cb(TorControlConnection& _conn, const TorControlReply&
CService resolved(LookupNumeric("127.0.0.1", 9050));
proxyType addrOnion = proxyType(resolved, true);
SetProxy(NET_ONION, addrOnion);
- SetLimited(NET_ONION, false);
+ SetReachable(NET_ONION, true);
}
// Finally - now create the service