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

Function forward_error

plugins/libplugin.c:629–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

627}
628
629struct command_result *forward_error(struct command *cmd,
630 const char *method,
631 const char *buf,
632 const jsmntok_t *error,
633 void *arg UNNEEDED)
634{
635 /* Push through any errors. */
636 return command_done_raw(cmd, "error",
637 buf + error->start, error->end - error->start);
638}
639
640struct command_result *forward_result(struct command *cmd,
641 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