Invoice status lookup fix (#3444)

See 4ca152da7c.
This commit is contained in:
d11n 2022-02-09 15:35:17 +01:00 committed by GitHub
parent 605d04580c
commit c18f112f31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -651,7 +651,7 @@ namespace BTCPayServer.Services.Invoices
if (queryObject.Status != null && queryObject.Status.Length > 0)
{
HashSet<string> statusSet = new HashSet<string>();
var statusSet = queryObject.Status.ToHashSet();
// We make sure here that the old filters still work
foreach (var status in queryObject.Status.Select(s => s.ToLowerInvariant()))
{