attempt to fix different casing in cryptocode of payments

This commit is contained in:
Kukks 2023-09-29 13:03:18 +02:00
parent 0cfb0ba890
commit 076c20a3b7
No known key found for this signature in database
GPG key ID: 8E5530D9D1C93097

View file

@ -386,7 +386,7 @@ namespace BTCPayServer.Services.Invoices
}
public void UpdateTotals()
{
Rates = new Dictionary<string, decimal>();
Rates = new Dictionary<string, decimal>(StringComparer.InvariantCultureIgnoreCase);
foreach (var p in GetPaymentMethods())
{
Rates.TryAdd(p.Currency, p.Rate);