mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Make sure to only select accounted payments where we should (#2523)
This commit is contained in:
@@ -111,8 +111,7 @@ namespace BTCPayServer.PaymentRequest
|
||||
State = state,
|
||||
StateFormatted = state.ToString(),
|
||||
Payments = entity
|
||||
.GetPayments()
|
||||
.Where(p => p.Accounted)
|
||||
.GetPayments(true)
|
||||
.Select(paymentEntity =>
|
||||
{
|
||||
var paymentData = paymentEntity.GetCryptoPaymentData();
|
||||
|
||||
Reference in New Issue
Block a user