mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
lightningd: allow 'style' 'legacy' for clboss compat (with deprecated_apis).
We keep the parameter around for future use (e.g. PTLC support?), but clboss master still sets 'style' to "legacy". Accept, but ignore it. Reported-by: grubman on #c-lightning (IRC) Changelog-Deprecated: JSON-RPC: `sendpay` `route` argument `style` "legacy" (don't use it at all, we ignore it now and always use "tlv" anyway). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -1358,7 +1358,6 @@ The payload of the hook call has the following format:
|
||||
{
|
||||
"onion": {
|
||||
"payload": "",
|
||||
"type": "legacy",
|
||||
"short_channel_id": "1x2x3",
|
||||
"forward_amount": "42msat",
|
||||
"outgoing_cltv_value": 500014,
|
||||
@@ -1379,7 +1378,6 @@ For detailed information about each field please refer to [BOLT 04 of the specif
|
||||
- `onion`:
|
||||
- `payload` contains the unparsed payload that was sent to us from the
|
||||
sender of the payment.
|
||||
- `type` is `legacy` for realm 0 payments, `tlv` for realm > 1.
|
||||
- `short_channel_id` determines the channel that the sender is hinting
|
||||
should be used next. Not present if we're the final destination.
|
||||
- `forward_amount` is the amount we should be forwarding to the next hop,
|
||||
|
||||
Reference in New Issue
Block a user