| 1585 | } |
| 1586 | |
| 1587 | static struct command_result * |
| 1588 | connect_err(struct command *cmd, |
| 1589 | const char *method, |
| 1590 | const char *buf, |
| 1591 | const jsmntok_t *error, |
| 1592 | struct multifundchannel_destination *dest) |
| 1593 | { |
| 1594 | struct multifundchannel_command *mfc = dest->mfc; |
| 1595 | |
| 1596 | plugin_log(mfc->cmd->plugin, LOG_DBG, |
| 1597 | "mfc %"PRIu64", dest %u: failed! connect %s: %.*s.", |
| 1598 | mfc->id, dest->index, |
| 1599 | fmt_node_id(tmpctx, &dest->id), |
| 1600 | json_tok_full_len(error), |
| 1601 | json_tok_full(buf, error)); |
| 1602 | |
| 1603 | fail_destination_tok(dest, buf, error); |
| 1604 | return connect_done(dest); |
| 1605 | } |
| 1606 | |
| 1607 | static void |
| 1608 | connect_dest(struct multifundchannel_destination *dest) |
nothing calls this directly
no test coverage detected