mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +01:00
Rename LightningPrivateRouteHint =>privateRouteHints
This commit is contained in:
parent
1e3f62718d
commit
66206399e1
@ -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
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user