Commenting few tricky lines of code

This commit is contained in:
rockstardev 2018-06-23 23:37:58 -05:00
parent 3c4c99ee42
commit 9e698a8004
2 changed files with 2 additions and 1 deletions

View file

@ -20,7 +20,7 @@ namespace BTCPayServer.Payments.Lightning
public string Username { get; set; }
public string Password { get; set; }
public Uri BaseUri { get; set; } // has no user and password
public Uri BaseUri { get; set; } // has no user and password or query string
public LightningConnectionType ConnectionType { get; private set; }

View file

@ -8,6 +8,7 @@ namespace BTCPayServer.Payments.Lightning
public class LightningSupportedPaymentMethod : ISupportedPaymentMethod
{
public string CryptoCode { get; set; }
// This property MUST be after CryptoCode or else JSON serialization fails
public PaymentMethodId PaymentId => new PaymentMethodId(CryptoCode, PaymentTypes.LightningLike);
[Obsolete("Use Get/SetLightningUrl")]