Fix fallback
MODIFY
WalletWasabi/Tor/TorMonitor.cs
WalletWasabi/Tor/TorMonitor.cs
@@ -146,7 +146,7 @@ public class TorMonitor : PeriodicRunner
if (torMisbehavedFor > CheckIfRunningAfterTorMisbehavedFor)
{
- if (TorHttpPool.LatestTorException is TorConnectCommandFailedException)
+ if (TorHttpPool.LatestTorException is TorConnectCommandFailedException || TorHttpPool.LatestTorException?.InnerException is TorConnectCommandFailedException)
{
// Tor must be running for us to consider switching to the fallback address.
bool isRunning = await HttpClient.IsTorRunningAsync().ConfigureAwait(false);

Fix fallback