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

Function spam_errcb

tests/plugins/test_libplugin.c:207–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207static struct command_result *spam_errcb(struct command *cmd,
208 const char *method,
209 const char *buf,
210 const jsmntok_t *tok,
211 void *unused)
212{
213 plugin_err(cmd->plugin, "%.*s",
214 json_tok_full_len(tok),
215 json_tok_full(buf, tok));
216}
217
218static struct command_result *json_spamcommand(struct command *cmd,
219 const char *buf,

Callers

nothing calls this directly

Calls 3

plugin_errFunction · 0.50
json_tok_full_lenFunction · 0.50
json_tok_fullFunction · 0.50

Tested by

no test coverage detected