MCPcopy Create free account
hub / github.com/ElementsProject/lightning / connect_err

Function connect_err

plugins/spender/multifundchannel.c:1640–1657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1638}
1639
1640static struct command_result *
1641connect_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
1659static void
1660connect_dest(struct multifundchannel_destination *dest)

Callers

nothing calls this directly

Calls 6

fail_destination_tokFunction · 0.85
connect_doneFunction · 0.85
plugin_logFunction · 0.50
node_id_to_hexstrFunction · 0.50
json_tok_full_lenFunction · 0.50
json_tok_fullFunction · 0.50

Tested by

no test coverage detected