| 804 | } |
| 805 | |
| 806 | static struct command_result *prepare_inv_timeout(struct command *cmd, |
| 807 | const char *buf UNUSED, |
| 808 | const jsmntok_t *result UNUSED, |
| 809 | struct sent *sent) |
| 810 | { |
| 811 | tal_steal(cmd, plugin_timer(cmd->plugin, |
| 812 | time_from_sec(sent->wait_timeout), |
| 813 | timeout_sent_inv, sent)); |
| 814 | return sendonionmsg_done(cmd, buf, result, sent); |
| 815 | } |
| 816 | |
| 817 | /* We've connected (if we tried), so send the invreq. */ |
| 818 | static struct command_result * |
nothing calls this directly
no test coverage detected