diff --git a/BTCPayServer.Rating/Providers/BackgroundFetcherRateProvider.cs b/BTCPayServer.Rating/Providers/BackgroundFetcherRateProvider.cs index da779b195..e9b6f023f 100644 --- a/BTCPayServer.Rating/Providers/BackgroundFetcherRateProvider.cs +++ b/BTCPayServer.Rating/Providers/BackgroundFetcherRateProvider.cs @@ -99,7 +99,7 @@ namespace BTCPayServer.Services.Rates { LastRequested = LastRequested }; - if (_Latest is LatestFetch fetch) + if (_Latest is LatestFetch fetch && fetch.Latest is PairRate[]) { state.LastUpdated = fetch.Updated; state.Rates = fetch.Latest