Fix: Exchangerate.host falsly appear as Yadio in the UI (Fix #5347)

This commit is contained in:
nicolas.dorier
2023-09-26 14:45:46 +09:00
parent 66a064e78b
commit 75396f491b
2 changed files with 4 additions and 4 deletions

View File

@@ -862,8 +862,8 @@ namespace BTCPayServer.Controllers
private IEnumerable<AvailableRateProvider> GetSupportedExchanges()
{
return _RateFactory.RateProviderFactory.AvailableRateProviders
.Where(r => !string.IsNullOrWhiteSpace(r.Name))
.OrderBy(s => s.Id, StringComparer.OrdinalIgnoreCase);
.Where(r => !string.IsNullOrWhiteSpace(r.DisplayName))
.OrderBy(s => s.DisplayName, StringComparer.OrdinalIgnoreCase);
}