lightningd: return both obsolete and modern blindedpaths from "blindedpath" RPC.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2021-11-30 13:36:05 +10:30
parent b3af5f5a2c
commit 5cf2c2fbd7
2 changed files with 37 additions and 9 deletions

View File

@@ -727,7 +727,7 @@ static struct command_result *use_reply_path(struct command *cmd,
struct tlv_obs2_onionmsg_payload_reply_path *rpath;
rpath = json_to_obs2_reply_path(cmd, buf,
json_get_member(buf, result, "blindedpath"));
json_get_member(buf, result, "obs2blindedpath"));
if (!rpath)
plugin_err(cmd->plugin,
"could not parse reply path %.*s?",