diff --git a/BTCPayServer/BTCPayServer.csproj b/BTCPayServer/BTCPayServer.csproj index 06a1bfeff..70337f226 100644 --- a/BTCPayServer/BTCPayServer.csproj +++ b/BTCPayServer/BTCPayServer.csproj @@ -2,7 +2,7 @@ Exe netcoreapp2.0 - 1.0.1.88 + 1.0.1.89 NU1701,CA1816,CA1308,CA1810,CA2208 diff --git a/BTCPayServer/HostedServices/RatesHostedService.cs b/BTCPayServer/HostedServices/RatesHostedService.cs index 5bd1c1f0b..08fe47a4d 100644 --- a/BTCPayServer/HostedServices/RatesHostedService.cs +++ b/BTCPayServer/HostedServices/RatesHostedService.cs @@ -67,7 +67,7 @@ namespace BTCPayServer.HostedServices return Timer(async () => { await new SynchronizationContextRemover(); - var tickers = await new CoinAverageRateProvider("BTC").GetExchangeTickersAsync(); + var tickers = await new CoinAverageRateProvider("BTC") { Authenticator = _coinAverageSettings }.GetExchangeTickersAsync(); _coinAverageSettings.AvailableExchanges = tickers .Exchanges .Select(c => (c.DisplayName, c.Name))