| 461 | } |
| 462 | |
| 463 | static struct command_result *sendonionmsg_done(struct command *cmd, |
| 464 | const char *method UNUSED, |
| 465 | const char *buf UNUSED, |
| 466 | const jsmntok_t *result UNUSED, |
| 467 | struct sent *sent) |
| 468 | { |
| 469 | if (sent->invreq && sent->invreq->invreq_recurrence_cancel) |
| 470 | return cancelrecurringinvoice_done(cmd, sent); |
| 471 | |
| 472 | command_timer(cmd, |
| 473 | time_from_sec(sent->wait_timeout), |
| 474 | timeout_sent_invreq, sent); |
| 475 | return command_still_pending(cmd); |
| 476 | } |
| 477 | |
| 478 | static struct command_result *param_offer(struct command *cmd, |
| 479 | const char *name, |
no test coverage detected