mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-20 13:34:37 +01:00
Commenting few tricky lines of code
This commit is contained in:
parent
3c4c99ee42
commit
9e698a8004
2 changed files with 2 additions and 1 deletions
|
@ -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; }
|
||||
|
||||
|
|
|
@ -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")]
|
||||
|
|
Loading…
Add table
Reference in a new issue