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

Function forward_result

plugins/libplugin.c:640–649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

638}
639
640struct command_result *forward_result(struct command *cmd,
641 const char *method,
642 const char *buf,
643 const jsmntok_t *result,
644 void *arg UNNEEDED)
645{
646 /* Push through the result. */
647 return command_done_raw(cmd, "result",
648 buf + result->start, result->end - result->start);
649}
650
651/* Called by param() directly if it's malformed. */
652struct command_result *command_fail(struct command *cmd,

Callers 2

listdatastore_okFunction · 0.85
check_resultFunction · 0.85

Calls 1

command_done_rawFunction · 0.85

Tested by 1

listdatastore_okFunction · 0.68