Rename LightningPrivateRouteHint =>privateRouteHints
This commit is contained in:
@@ -11,7 +11,7 @@ namespace BTCPayServer.Client.Models
|
||||
public LightMoney Amount { get; set; }
|
||||
public string Description { get; set; }
|
||||
public TimeSpan Expiry { get; set; }
|
||||
public bool LightningPrivateRouteHints { get; set; }
|
||||
public bool PrivateRouteHints { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -261,7 +261,7 @@ namespace BTCPayServer.Controllers.GreenField
|
||||
var invoice = await lightningClient.CreateInvoice(
|
||||
new CreateInvoiceParams(request.Amount, request.Description, request.Expiry)
|
||||
{
|
||||
PrivateRouteHints = request.LightningPrivateRouteHints
|
||||
PrivateRouteHints = request.PrivateRouteHints
|
||||
},
|
||||
CancellationToken.None);
|
||||
|
||||
|
@@ -59,8 +59,9 @@
|
||||
"type": "string",
|
||||
"format": "time-span"
|
||||
},
|
||||
"lightningPrivateRouteHints": {
|
||||
"type": "boolean"
|
||||
"privateRouteHints": {
|
||||
"type": "boolean",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user