| 202 | } |
| 203 | |
| 204 | static struct command_result *listinvreqs_error(struct command *cmd, |
| 205 | const char *method, |
| 206 | const char *buf, |
| 207 | const jsmntok_t *err, |
| 208 | struct inv *inv) |
| 209 | { |
| 210 | return fail_internalerr(cmd, inv, |
| 211 | "listinvoicerequests gave JSON error: %.*s", |
| 212 | json_tok_full_len(err), |
| 213 | json_tok_full(buf, err)); |
| 214 | } |
| 215 | |
| 216 | struct command_result *handle_invoice(struct command *cmd, |
| 217 | const u8 *invbin, |
nothing calls this directly
no test coverage detected