Skip to content

Commit c08f583

Browse files
committed
lightningd: remove blinding field from onion_message_recv hook.
Changelog-Removed: Plugins: `onion_message_recv` hook `blinding` field (use `first_path_key` as per modern BOLT 4 naming). Signed-off-by: Rusty Russell <[email protected]>
1 parent 5a64f08 commit c08f583

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

doc/developers-guide/deprecated-features.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ hidden: false
88
| Name | Type | First Deprecated | Last Supported | Description |
99
|--------------------------------------|--------------------|------------------|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
1010
| listpeers.features.option_anchors_zero_fee_htlc_tx | Field | v24.08 | v25.09 | Renamed to `option_anchors` in the spec: check for that in `features` instead |
11-
| onion_message_recv.blinding | Hook Field | v24.11 | v25.05 | Renamed to `first_path_key` in BOLT 4 (available in hook from v24.11) |
1211
| decodepay | Command | v24.11 | v25.12 | Use `decode` which is more powerful (since v23.05) |
1312
| close.tx | Field | v24.11 | v25.12 | Use txs array instead |
1413
| close.txid | Field | v24.11 | v25.12 | Use txids array instead |

lightningd/onion_message.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,6 @@ static void json_add_blindedpath(struct plugin *plugin,
3333
json_add_short_channel_id(stream, "first_scid", path->first_node_id.scidd.scid);
3434
json_add_u32(stream, "first_scid_dir", path->first_node_id.scidd.dir);
3535
}
36-
if (lightningd_deprecated_out_ok(plugin->plugins->ld,
37-
plugin->plugins->ld->deprecated_ok,
38-
"onion_message_recv", "blinding",
39-
"v24.11", "v25.05")) {
40-
json_add_pubkey(stream, "blinding", &path->first_path_key);
41-
}
4236
json_add_pubkey(stream, "first_path_key", &path->first_path_key);
4337
json_array_start(stream, "hops");
4438
for (size_t i = 0; i < tal_count(path->path); i++) {

0 commit comments

Comments
 (0)