Skip to content

Commit

Permalink
Change -tor bad parameter error message
Browse files Browse the repository at this point in the history
Co-authored-by: div72 <[email protected]>
  • Loading branch information
jamescowens and div72 authored Feb 27, 2024
1 parent 419d827 commit 076362d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 076362d

Please sign in to comment.