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

Function mfc_forward_error

plugins/spender/multifundchannel.c:393–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391 return mfc_cleanup(mfc, &mfc_err_raw_complete, obj);
392}
393struct command_result *
394mfc_forward_error(struct command *cmd,
395 const char *buf, const jsmntok_t *error,
396 struct multifundchannel_command *mfc)
397{
398 plugin_log(cmd->plugin, LOG_DBG,
399 "mfc %"PRIu64": forwarding error, about to cleanup.",
400 mfc->id);
401 return mfc_err_raw(mfc, json_strdup(tmpctx, buf, error));
402}
403
404struct mfc_finished_object {
405 struct multifundchannel_command *mfc;

Callers

nothing calls this directly

Calls 3

mfc_err_rawFunction · 0.85
plugin_logFunction · 0.50
json_strdupFunction · 0.50

Tested by

no test coverage detected