aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-09-24 22:40:05 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-10-01 19:00:07 +0300
commit57f17e57c8c410e10c16a46f7372c0ea8b7dd467 (patch)
tree3ac9a2e8f4cde956b30d72daacdcd2436e82249d /src/init.cpp
parente3f07851f02857b4844fccb2e91070c5cd3aad4d (diff)
net: Pass onion service target to Tor controller
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 7a5739fded..74d30b0733 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1912,7 +1912,7 @@ bool AppInitMain(const util::Ref& context, NodeContext& node, interfaces::BlockA
LogPrintf("nBestHeight = %d\n", chain_active_height);
if (args.GetBoolArg("-listenonion", DEFAULT_LISTEN_ONION))
- StartTorControl();
+ StartTorControl(DefaultOnionServiceTarget());
Discover();