Merge branch 'master' into bitcoin-only-fixes

This commit is contained in:
Andrew Camilleri
2020-08-14 17:50:36 +02:00
committed by GitHub
91 changed files with 811 additions and 1037 deletions

View File

@@ -145,7 +145,7 @@ namespace BTCPayServer.Controllers
.ToList();
var defaultRefund = invoice.Payments
.Select(p => p.GetBlob(_NetworkProvider))
.Select(p => p.GetPaymentMethodId())
.Select(p => p?.GetPaymentMethodId())
.FirstOrDefault(p => p != null && p.PaymentType == BitcoinPaymentType.Instance);
// TODO: What if no option?
var refund = new RefundModel();