diff --git a/BTCPayServer.Rating/AvailableRateProvider.cs b/BTCPayServer.Rating/AvailableRateProvider.cs index f9a024510..884da39ac 100644 --- a/BTCPayServer.Rating/AvailableRateProvider.cs +++ b/BTCPayServer.Rating/AvailableRateProvider.cs @@ -3,7 +3,6 @@ namespace BTCPayServer.Rating public enum RateSource { Coingecko, - CoinAverage, Direct } public class AvailableRateProvider diff --git a/BTCPayServer/Models/StoreViewModels/RatesViewModel.cs b/BTCPayServer/Models/StoreViewModels/RatesViewModel.cs index 4382208b6..aaab8cb9f 100644 --- a/BTCPayServer/Models/StoreViewModels/RatesViewModel.cs +++ b/BTCPayServer/Models/StoreViewModels/RatesViewModel.cs @@ -33,9 +33,7 @@ namespace BTCPayServer.Models.StoreViewModels case Rating.RateSource.Direct: return a.Name; case Rating.RateSource.Coingecko: - return $"{a.Name} (via CoinGecko, free)"; - case Rating.RateSource.CoinAverage: - return $"{a.Name} (via BitcoinAverage, commercial)"; + return $"{a.Name} (via CoinGecko)"; default: throw new NotSupportedException(a.Source.ToString()); } diff --git a/BTCPayServer/Views/Stores/Rates.cshtml b/BTCPayServer/Views/Stores/Rates.cshtml index 23973de7d..77a6ecc4c 100644 --- a/BTCPayServer/Views/Stores/Rates.cshtml +++ b/BTCPayServer/Views/Stores/Rates.cshtml @@ -55,23 +55,6 @@ -
-
-

- -

-
-
-
- @foreach (var exchange in Model.AvailableExchanges.Where(a => a.Source == BTCPayServer.Rating.RateSource.CoinAverage)) - { - @exchange.Id  - } -
-
-
}