mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
Remove tor client factory
This commit is contained in:
@@ -164,15 +164,7 @@ namespace BTCPayServer.Controllers
|
||||
if (TempData.TryGetValue( "bpu", out var bpu) && !string.IsNullOrEmpty(bpu?.ToString()) && Uri.TryCreate(bpu.ToString(), UriKind.Absolute, out var endpoint))
|
||||
{
|
||||
TempData.Remove("bpu");
|
||||
var httpClient = _socks5HttpClientFactory.CreateClient("payjoin");
|
||||
if (endpoint.IsOnion() && httpClient == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
else
|
||||
{
|
||||
httpClient = _httpClientFactory.CreateClient("payjoin");
|
||||
}
|
||||
var httpClient = _httpClientFactory.CreateClient("payjoin");
|
||||
|
||||
var cloned = psbt.Clone();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user