| 326 | } |
| 327 | |
| 328 | static struct command_result * |
| 329 | htlc_accepted_invoice_failed(struct command *cmd, const char *buf, |
| 330 | const jsmntok_t *error, |
| 331 | struct keysend_in *ki) |
| 332 | { |
| 333 | plugin_log(cmd->plugin, LOG_BROKEN, |
| 334 | "Could not create invoice for keysend: %.*s", |
| 335 | json_tok_full_len(error), |
| 336 | json_tok_full(buf, error)); |
| 337 | /* Continue, but don't change it: it will fail. */ |
| 338 | return htlc_accepted_continue(cmd, NULL); |
| 339 | |
| 340 | } |
| 341 | |
| 342 | static struct command_result *htlc_accepted_call(struct command *cmd, |
| 343 | const char *buf, |
nothing calls this directly
no test coverage detected