mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
lightningd: rename sendonionmessage to sendobsonionmessage.
sendonionmessage is going to be the new one, and do much *less*. As this is an internal experimental-only API, no deprecation cycle required. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -649,7 +649,7 @@ static struct command_result *send_message(struct command *cmd,
|
||||
path = make_blindedpath(tmpctx, backwards, &blinding,
|
||||
&sent->reply_blinding);
|
||||
|
||||
req = jsonrpc_request_start(cmd->plugin, cmd, "sendonionmessage",
|
||||
req = jsonrpc_request_start(cmd->plugin, cmd, "sendobsonionmessage",
|
||||
done,
|
||||
forward_error,
|
||||
sent);
|
||||
|
||||
@@ -52,7 +52,7 @@ send_onion_reply(struct command *cmd,
|
||||
replyfield, tal_hex(tmpctx, replydata));
|
||||
|
||||
/* Send to requester, using return route. */
|
||||
req = jsonrpc_request_start(cmd->plugin, cmd, "sendonionmessage",
|
||||
req = jsonrpc_request_start(cmd->plugin, cmd, "sendobsonionmessage",
|
||||
finished, sendonionmessage_error, NULL);
|
||||
|
||||
/* Add reply into last hop. */
|
||||
|
||||
Reference in New Issue
Block a user