From 076362def6c1ecd8f6dcd33cc2febe52d2257e03 Mon Sep 17 00:00:00 2001 From: "James C. Owens" Date: Mon, 26 Feb 2024 22:39:56 -0500 Subject: [PATCH] Change -tor bad parameter error message Co-authored-by: div72 <60045611+div72@users.noreply.github.com> --- src/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.cpp b/src/init.cpp index 958c536106..5cb0bff00c 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1158,7 +1158,7 @@ bool AppInit2(ThreadHandlerPtr threads) } if (!addrOnion.IsValid()) { - return InitError(strprintf(_("Invalid -tor address: '%s'"), gArgs.GetArg("-tor", ""))); + return InitError(strprintf(_("Invalid -tor address: '%s'"), gArgs.GetArg("-tor", gArgs.GetArg("-proxy", "")))); } SetProxy(NET_TOR, addrOnion); SetReachable(NET_TOR, true);