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

Function mfc_err_raw

plugins/spender/multifundchannel.c:382–392  ·  view source on GitHub ↗

Use this instead of command_err_raw. */

Source from the content-addressed store, hash-verified

380
381/* Use this instead of command_err_raw. */
382static struct command_result *
383mfc_err_raw(struct multifundchannel_command *mfc, const char *json_string)
384{
385 struct mfc_err_raw_object *obj;
386
387 obj = tal(mfc, struct mfc_err_raw_object);
388 obj->mfc = mfc;
389 obj->error = tal_strdup(obj, json_string);
390
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,

Callers 1

mfc_forward_errorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected