[skip ci] Use property instead of member
MODIFY
WalletWasabi/WebClients/SmartBit/SmartBitExchangeRateProvider.cs
WalletWasabi/WebClients/SmartBit/SmartBitExchangeRateProvider.cs
@@ -9,16 +9,16 @@ namespace WalletWasabi.WebClients.SmartBit
{
public class SmartBitExchangeRateProvider : IExchangeRateProvider
{
- private SmartBitClient _client;
+ private SmartBitClient Client { get; }
public SmartBitExchangeRateProvider(SmartBitClient smartBitClient)
{
- _client = smartBitClient;
+ Client = smartBitClient;
}
public async Task<List<ExchangeRate>> GetExchangeRateAsync()
{
- var rates = await _client.GetExchangeRatesAsync(CancellationToken.None);
+ var rates = await Client.GetExchangeRatesAsync(CancellationToken.None);
var rate = rates.Single(x => x.Code == "USD");
var exchangeRates = new List<ExchangeRate>

[skip ci] Use property instead of member