PayjoinClient: Fix variable name.
MODIFY
WalletWasabi/WebClients/PayJoin/PayjoinClient.cs
WalletWasabi/WebClients/PayJoin/PayjoinClient.cs
@@ -21,11 +21,11 @@ namespace WalletWasabi.WebClients.PayJoin
public PayjoinClient(Uri paymentUrl, IHttpClient httpClient)
{
PaymentUrl = paymentUrl;
- TorHttpClient = httpClient;
+ HttpClient = httpClient;
}
public Uri PaymentUrl { get; }
- private IHttpClient TorHttpClient { get; }
+ private IHttpClient HttpClient { get; }
public async Task<PSBT?> RequestPayjoin(PSBT originalTx, IHDKey accountKey, RootedKeyPath rootedKeyPath, HdPubKey changeHdPubKey, CancellationToken cancellationToken)
{
@@ -84,7 +84,7 @@ namespace WalletWasabi.WebClients.PayJoin
Content = new StringContent(cloned.ToBase64(), Encoding.UTF8, "text/plain")
};
- HttpResponseMessage bpuResponse = await TorHttpClient.SendAsync(request, cancellationToken).ConfigureAwait(false);
+ HttpResponseMessage bpuResponse = await HttpClient.SendAsync(request, cancellationToken).ConfigureAwait(false);
if (!bpuResponse.IsSuccessStatusCode)
{

PayjoinClient: Fix variable name.