| 307 | } |
| 308 | |
| 309 | static struct command_result *listoffers_error(struct command *cmd, |
| 310 | const char *buf, |
| 311 | const jsmntok_t *err, |
| 312 | struct inv *inv) |
| 313 | { |
| 314 | return fail_internalerr(cmd, inv, |
| 315 | "listoffers gave JSON error: %.*s", |
| 316 | json_tok_full_len(err), |
| 317 | json_tok_full(buf, err)); |
| 318 | } |
| 319 | |
| 320 | struct command_result *handle_invoice(struct command *cmd, |
| 321 | const u8 *invbin, |
nothing calls this directly
no test coverage detected