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

Function forward_error

plugins/libplugin.c:639–648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637}
638
639struct command_result *forward_error(struct command *cmd,
640 const char *method,
641 const char *buf,
642 const jsmntok_t *error,
643 void *arg UNNEEDED)
644{
645 /* Push through any errors. */
646 return command_done_raw(cmd, "error",
647 buf + error->start, error->end - error->start);
648}
649
650struct command_result *forward_result(struct command *cmd,
651 const char *method,

Callers 2

txprepare_forward_errorFunction · 0.70
currency_doneFunction · 0.70

Calls 1

command_done_rawFunction · 0.85

Tested by

no test coverage detected