From 1803d3ee2b60d676701a11374f0471c96d1b128e Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Wed, 18 May 2022 21:49:42 +0900 Subject: [PATCH] Fix NRE introduced by previous commit --- BTCPayServer/Controllers/UIPullPaymentController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BTCPayServer/Controllers/UIPullPaymentController.cs b/BTCPayServer/Controllers/UIPullPaymentController.cs index abecc873d..159167611 100644 --- a/BTCPayServer/Controllers/UIPullPaymentController.cs +++ b/BTCPayServer/Controllers/UIPullPaymentController.cs @@ -82,8 +82,8 @@ namespace BTCPayServer.Controllers Status = entity.Entity.State, Destination = entity.Blob.Destination, PaymentMethod = PaymentMethodId.Parse(entity.Entity.PaymentMethodId), - Link = entity.ProofBlob.Link, - TransactionId = entity.ProofBlob.Id + Link = entity.ProofBlob?.Link, + TransactionId = entity.ProofBlob?.Id }).ToList() }; vm.IsPending &= vm.AmountDue > 0.0m;