| 1638 | } |
| 1639 | |
| 1640 | static struct command_result * |
| 1641 | connect_err(struct command *cmd, |
| 1642 | const char *buf, |
| 1643 | const jsmntok_t *error, |
| 1644 | struct multifundchannel_destination *dest) |
| 1645 | { |
| 1646 | struct multifundchannel_command *mfc = dest->mfc; |
| 1647 | |
| 1648 | plugin_log(mfc->cmd->plugin, LOG_DBG, |
| 1649 | "mfc %"PRIu64", dest %u: failed! connect %s: %.*s.", |
| 1650 | mfc->id, dest->index, |
| 1651 | node_id_to_hexstr(tmpctx, &dest->id), |
| 1652 | json_tok_full_len(error), |
| 1653 | json_tok_full(buf, error)); |
| 1654 | |
| 1655 | fail_destination_tok(dest, buf, error); |
| 1656 | return connect_done(dest); |
| 1657 | } |
| 1658 | |
| 1659 | static void |
| 1660 | connect_dest(struct multifundchannel_destination *dest) |
nothing calls this directly
no test coverage detected