mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-18 16:42:54 +01:00
net: Pass onion service target to Tor controller
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user