| 458 | } |
| 459 | |
| 460 | static struct command_result *sendonionmsg_done(struct command *cmd, |
| 461 | const char *buf UNUSED, |
| 462 | const jsmntok_t *result UNUSED, |
| 463 | struct sent *sent) |
| 464 | { |
| 465 | tal_steal(cmd, plugin_timer(cmd->plugin, |
| 466 | time_from_sec(sent->wait_timeout), |
| 467 | timeout_sent_invreq, sent)); |
| 468 | sent->cmd = cmd; |
| 469 | list_add_tail(&sent_list, &sent->list); |
| 470 | tal_add_destructor(sent, destroy_sent); |
| 471 | return command_still_pending(cmd); |
| 472 | } |
| 473 | |
| 474 | static void init_gossmap(struct plugin *plugin) |
| 475 | { |
no test coverage detected