Skip to content

Commit 5a64f08

Browse files
committed
offers: remove blinding from decode JSON-RPC.
Deprecated in 24.11, disabled in 25.05. Changelog-Removed: JSON-RPC: `decode` field `blinding` (use `first_path_key` as per modern BOLT naming) Signed-off-by: Rusty Russell <[email protected]>
1 parent 147eb22 commit 5a64f08

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
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-
| decode.blinding | Field | v24.11 | v25.05 | Renamed to `first_path_key` in BOLT 4 (available in `decode` from v24.11) |
1211
| onion_message_recv.blinding | Hook Field | v24.11 | v25.05 | Renamed to `first_path_key` in BOLT 4 (available in hook from v24.11) |
1312
| decodepay | Command | v24.11 | v25.12 | Use `decode` which is more powerful (since v23.05) |
1413
| close.tx | Field | v24.11 | v25.12 | Use txs array instead |

plugins/offers.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,8 +612,6 @@ static bool json_add_blinded_paths(struct command *cmd,
612612
paths[i]->first_node_id.scidd.dir);
613613
}
614614

615-
if (command_deprecated_out_ok(cmd, "blinding", "v24.11", "v25.05"))
616-
json_add_pubkey(js, "blinding", &paths[i]->first_path_key);
617615
json_add_pubkey(js, "first_path_key", &paths[i]->first_path_key);
618616

619617
/* Don't crash if we're short a payinfo! */

0 commit comments

Comments
 (0)