| 120 | "Invoice deleted during wait")); |
| 121 | } |
| 122 | static void wait_on_invoice(const u64 *inv_dbid, void *cmd) |
| 123 | { |
| 124 | if (inv_dbid) |
| 125 | tell_waiter((struct command *) cmd, *inv_dbid); |
| 126 | else |
| 127 | tell_waiter_deleted((struct command *) cmd); |
| 128 | } |
| 129 | static void wait_timed_out(struct command *cmd) |
| 130 | { |
| 131 | was_pending(command_fail(cmd, INVOICE_WAIT_TIMED_OUT, |
nothing calls this directly
no test coverage detected