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

Function forward_result

plugins/libplugin.c:443–451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441}
442
443struct command_result *forward_result(struct command *cmd,
444 const char *buf,
445 const jsmntok_t *result,
446 void *arg UNNEEDED)
447{
448 /* Push through the result. */
449 return command_done_raw(cmd, "result",
450 buf + result->start, result->end - result->start);
451}
452
453/* Called by param() directly if it's malformed. */
454struct command_result *command_fail(struct command *cmd,

Callers 1

check_resultFunction · 0.85

Calls 1

command_done_rawFunction · 0.85

Tested by

no test coverage detected