| 420 | } |
| 421 | |
| 422 | static struct command_result *sendonionmsg_done(struct command *cmd, |
| 423 | const char *method UNUSED, |
| 424 | const char *buf UNUSED, |
| 425 | const jsmntok_t *result UNUSED, |
| 426 | struct sent *sent) |
| 427 | { |
| 428 | if (sent->invreq && sent->invreq->invreq_recurrence_cancel) |
| 429 | return cancelrecurringinvoice_done(cmd, sent); |
| 430 | |
| 431 | command_timer(cmd, |
| 432 | time_from_sec(sent->wait_timeout), |
| 433 | timeout_sent_invreq, sent); |
| 434 | return command_still_pending(cmd); |
| 435 | } |
| 436 | |
| 437 | static struct command_result *param_offer(struct command *cmd, |
| 438 | const char *name, |
no test coverage detected