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

Function listdatastore_ok

tests/plugins/test_libplugin.c:166–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166static struct command_result *listdatastore_ok(struct command *cmd,
167 const char *method,
168 const char *buf,
169 const jsmntok_t *params,
170 void *cb_arg UNUSED)
171{
172 if (command_check_only(cmd))
173 return command_check_done(cmd);
174
175 return forward_result(cmd, method, buf, params, NULL);
176}
177
178/* A command which does async, even if it is a check */
179static struct command_result *json_checkthis(struct command *cmd,

Callers

nothing calls this directly

Calls 3

forward_resultFunction · 0.85
command_check_onlyFunction · 0.50
command_check_doneFunction · 0.50

Tested by

no test coverage detected