Remove CoinAverage RateSource enum

This commit is contained in:
nicolas.dorier
2020-01-17 14:51:07 +09:00
parent 9b55648e41
commit ff11e6e032
3 changed files with 1 additions and 21 deletions

View File

@@ -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());
}