LightningLikePaymentData: Null-check preimage (#4886)

Fixes #4884.
This commit is contained in:
d11n 2023-04-17 00:08:40 +02:00 committed by GitHub
parent 717f1610f5
commit 7d14cd74f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ namespace BTCPayServer.Payments.Lightning
public string GetPaymentProof()
{
return Preimage.ToString();
return Preimage?.ToString();
}
}
}