| 663 | } |
| 664 | |
| 665 | static struct command_result *prepare_inv_timeout(struct command *cmd, |
| 666 | const char *method UNUSED, |
| 667 | const char *buf UNUSED, |
| 668 | const jsmntok_t *result UNUSED, |
| 669 | struct sent *sent) |
| 670 | { |
| 671 | command_timer(cmd, |
| 672 | time_from_sec(sent->wait_timeout), |
| 673 | timeout_sent_inv, sent); |
| 674 | return sendonionmsg_done(cmd, method, buf, result, sent); |
| 675 | } |
| 676 | |
| 677 | static struct command_result *invreq_done(struct command *cmd, |
| 678 | const char *method, |
nothing calls this directly
no test coverage detected