From 076c20a3b7fe4795757f28091d3f95551fcbd154 Mon Sep 17 00:00:00 2001 From: Kukks Date: Fri, 29 Sep 2023 13:03:18 +0200 Subject: [PATCH] attempt to fix different casing in cryptocode of payments --- BTCPayServer/Services/Invoices/InvoiceEntity.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/Services/Invoices/InvoiceEntity.cs b/BTCPayServer/Services/Invoices/InvoiceEntity.cs index 0177d502c..261f6941b 100644 --- a/BTCPayServer/Services/Invoices/InvoiceEntity.cs +++ b/BTCPayServer/Services/Invoices/InvoiceEntity.cs @@ -386,7 +386,7 @@ namespace BTCPayServer.Services.Invoices } public void UpdateTotals() { - Rates = new Dictionary(); + Rates = new Dictionary(StringComparer.InvariantCultureIgnoreCase); foreach (var p in GetPaymentMethods()) { Rates.TryAdd(p.Currency, p.Rate);