| 415 | } |
| 416 | |
| 417 | static struct command_result * |
| 418 | htlc_accepted_invoice_failed(struct command *cmd, |
| 419 | const char *method, |
| 420 | const char *buf, |
| 421 | const jsmntok_t *error, |
| 422 | struct keysend_in *ki) |
| 423 | { |
| 424 | plugin_log(cmd->plugin, LOG_BROKEN, |
| 425 | "Could not create invoice for keysend: %.*s", |
| 426 | json_tok_full_len(error), |
| 427 | json_tok_full(buf, error)); |
| 428 | /* Continue, but don't change it: it will fail. */ |
| 429 | return htlc_accepted_continue(cmd, NULL); |
| 430 | |
| 431 | } |
| 432 | |
| 433 | static struct command_result *htlc_accepted_call(struct command *cmd, |
| 434 | const char *buf, |
nothing calls this directly
no test coverage detected