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

Function fundchannel_complete_err

plugins/spender/multifundchannel.c:752–769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

750}
751
752static struct command_result *
753fundchannel_complete_err(struct command *cmd,
754 const char *buf,
755 const jsmntok_t *error,
756 struct multifundchannel_destination *dest)
757{
758 struct multifundchannel_command *mfc = dest->mfc;
759
760 plugin_log(mfc->cmd->plugin, LOG_DBG,
761 "mfc %"PRIu64", dest %u: "
762 "failed! fundchannel_complete %s: %.*s",
763 mfc->id, dest->index,
764 node_id_to_hexstr(tmpctx, &dest->id),
765 json_tok_full_len(error), json_tok_full(buf, error));
766
767 fail_destination_tok(dest, buf, error);
768 return fundchannel_complete_done(dest);
769}
770
771static void
772fundchannel_complete_dest(struct multifundchannel_destination *dest)

Callers

nothing calls this directly

Calls 6

fail_destination_tokFunction · 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