mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-15 19:24:31 +01:00
LightningSupportedPaymentMethod.CryptoCode is never null
This commit is contained in:
@@ -8,7 +8,7 @@ namespace BTCPayServer.Payments.Lightning
|
||||
public class LightningSupportedPaymentMethod : ISupportedPaymentMethod
|
||||
{
|
||||
public const string InternalNode = "Internal Node";
|
||||
public string? CryptoCode { get; set; }
|
||||
public string CryptoCode { get; set; } = string.Empty;
|
||||
|
||||
[JsonIgnore]
|
||||
public PaymentMethodId PaymentId => new PaymentMethodId(CryptoCode, PaymentTypes.LightningLike);
|
||||
|
||||
Reference in New Issue
Block a user