aboutsummaryrefslogtreecommitdiff
path: root/src/torcontrol.cpp
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2021-11-08 17:34:32 +0100
committerVasil Dimov <vd@FreeBSD.org>2021-11-24 12:44:07 +0100
commit0eea83a85ec6b215d44facc2b16ee1b035275a6b (patch)
treee6eecb49bd83112cb2b0147f681f65ba88ea9ea2 /src/torcontrol.cpp
parente53a8505dbb6f9deaae8ac82793a4fb760a1e0a6 (diff)
downloadbitcoin-0eea83a85ec6b215d44facc2b16ee1b035275a6b.tar.xz
scripted-diff: rename `proxyType` to `Proxy`
-BEGIN VERIFY SCRIPT- sed -i 's/\<proxyType\>/Proxy/g' $(git grep -l proxyType) -END VERIFY SCRIPT-
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 fdf1957bff..38a49b8534 100644
--- a/src/torcontrol.cpp
+++ b/src/torcontrol.cpp
@@ -378,7 +378,7 @@ void TorController::auth_cb(TorControlConnection& _conn, const TorControlReply&
// if -onion isn't set to something else.
if (gArgs.GetArg("-onion", "") == "") {
CService resolved(LookupNumeric("127.0.0.1", 9050));
- proxyType addrOnion = proxyType(resolved, true);
+ Proxy addrOnion = Proxy(resolved, true);
SetProxy(NET_ONION, addrOnion);
const auto onlynets = gArgs.GetArgs("-onlynet");