mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-01 21:24:21 +01:00
Merge pull request #1801 from btcpayserver/fixcfinvoice
Fix Crowdfund not counting all invoices when configured to
This commit is contained in:
@@ -182,7 +182,7 @@ namespace BTCPayServer.Services.Apps
|
||||
});
|
||||
|
||||
// Old invoices may have invoices which were not tagged
|
||||
invoices = invoices.Where(inv => inv.Version < InvoiceEntity.InternalTagSupport_Version ||
|
||||
invoices = invoices.Where(inv => appData.TagAllInvoices || inv.Version < InvoiceEntity.InternalTagSupport_Version ||
|
||||
inv.InternalTags.Contains(GetAppInternalTag(appData.Id))).ToArray();
|
||||
return invoices;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user