Browse Source

sendonion: remove underscores from JSON arg name.

I fixed the "sendpay" one but not this one.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa
Rusty Russell 4 years ago
parent
commit
a15878b3a4
  1. 2
      lightningd/pay.c

2
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();

Loading…
Cancel
Save