| 111 | "Invoice deleted during wait")); |
| 112 | } |
| 113 | static void wait_on_invoice(const struct invoice *invoice, void *cmd) |
| 114 | { |
| 115 | if (invoice) |
| 116 | tell_waiter((struct command *) cmd, invoice); |
| 117 | else |
| 118 | tell_waiter_deleted((struct command *) cmd); |
| 119 | } |
| 120 | static void wait_timed_out(struct command *cmd) |
| 121 | { |
| 122 | was_pending(command_fail(cmd, INVOICE_WAIT_TIMED_OUT, |
nothing calls this directly
no test coverage detected