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

Function command_failed

plugins/establish_onion_path.c:36–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36static struct command_result *command_failed(struct command *cmd,
37 const char *method,
38 const char *buf,
39 const jsmntok_t *result,
40 struct connect_info *ci)
41{
42 return ci->fail(cmd, json_strdup(tmpctx, buf, result), ci->arg);
43}
44
45static struct command_result *connect_direct(struct command *cmd,
46 struct connect_info *ci)

Callers

nothing calls this directly

Calls 2

failMethod · 0.80
json_strdupFunction · 0.50

Tested by

no test coverage detected