mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Cleanup data from the InvoiceEvents table (#5904)
This commit is contained in:
@@ -50,10 +50,6 @@ namespace BTCPayServer.Data
|
||||
{
|
||||
entity.AvailableAddressHashes = invoiceData.AddressInvoices.Select(a => a.GetAddress() + a.GetPaymentMethodId()).ToHashSet();
|
||||
}
|
||||
if (invoiceData.Events != null)
|
||||
{
|
||||
entity.Events = invoiceData.Events.OrderBy(c => c.Timestamp).ToList();
|
||||
}
|
||||
if (invoiceData.Refunds != null)
|
||||
{
|
||||
entity.Refunds = invoiceData.Refunds.OrderBy(c => c.PullPaymentData.StartDate).ToList();
|
||||
|
||||
Reference in New Issue
Block a user