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

Function forward_result

plugins/libplugin.c:650–659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

648}
649
650struct command_result *forward_result(struct command *cmd,
651 const char *method,
652 const char *buf,
653 const jsmntok_t *result,
654 void *arg UNNEEDED)
655{
656 /* Push through the result. */
657 return command_done_raw(cmd, "result",
658 buf + result->start, result->end - result->start);
659}
660
661/* Called by param() directly if it's malformed. */
662struct 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