ITorHttpClient: Remove IsTorUsed property.
MODIFY
WalletWasabi.Tests/UnitTests/Clients/MockTorHttpClient.cs
WalletWasabi.Tests/UnitTests/Clients/MockTorHttpClient.cs
@@ -12,8 +12,6 @@ namespace WalletWasabi.Tests.UnitTests.Clients
{
public Func<Uri> DestinationUriAction => () => new Uri("https://payment.server.org/pj");
- public bool IsTorUsed => true;
-
public Func<HttpMethod, string, NameValueCollection, string, Task<HttpResponseMessage>> OnSendAsync { get; set; }
public async Task<HttpResponseMessage> SendAsync(HttpMethod method, string relativeUri, HttpContent? content = null, CancellationToken cancel = default)

MODIFY
WalletWasabi/Tor/Http/Interfaces/ITorHttpClient.cs
WalletWasabi/Tor/Http/Interfaces/ITorHttpClient.cs
@@ -2,6 +2,5 @@ namespace WalletWasabi.Tor.Http.Interfaces
{
public interface ITorHttpClient : IRelativeHttpClient
{
- bool IsTorUsed { get; }
}
}

MODIFY
WalletWasabi/Tor/Http/TorHttpClient.cs
WalletWasabi/Tor/Http/TorHttpClient.cs
@@ -61,7 +61,6 @@ namespace WalletWasabi.Tor.Http
public Func<Uri> DestinationUriAction { get; }
public EndPoint? TorSocks5EndPoint { get; private set; }
- public bool IsTorUsed => TorSocks5EndPoint is { };
private bool IsolateStream { get; }

ITorHttpClient: Remove IsTorUsed property.