From a15878b3a44e416e5bad6199fa5a4aa1d86e81ac Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 8 Jan 2021 05:03:47 +1030 Subject: [PATCH] sendonion: remove underscores from JSON arg name. I fixed the "sendpay" one but not this one. Signed-off-by: Rusty Russell --- lightningd/pay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightningd/pay.c b/lightningd/pay.c index 4f6408fba..2ad2c75ca 100644 --- a/lightningd/pay.c +++ b/lightningd/pay.c @@ -1297,7 +1297,7 @@ static struct command_result *json_sendonion(struct command *cmd, p_opt_def("msatoshi", param_msat, &msat, AMOUNT_MSAT(0)), p_opt("destination", param_node_id, &destination), #if EXPERIMENTAL_FEATURES - p_opt("local_offer_id", param_sha256, &local_offer_id), + p_opt("localofferid", param_sha256, &local_offer_id), #endif NULL)) return command_param_failed();