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

Function del_failed

plugins/autoclean.c:351–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349}
350
351static struct command_result *del_failed(struct command *cmd,
352 const char *method,
353 const char *buf,
354 const jsmntok_t *result,
355 struct per_variant *variant)
356{
357 struct subsystem_and_variant sv;
358 sv.variant = variant->variant;
359 sv.type = variant->per_subsystem->type;
360
361 plugin_log(plugin, LOG_UNUSUAL, "%s del failed: %.*s",
362 subsystem_to_str(&sv),
363 json_tok_full_len(result),
364 json_tok_full(buf, result));
365 return clean_finished_one(variant->per_subsystem->cinfo);
366}
367
368static struct per_variant *get_listinvoices_variant(const char *buf,
369 const jsmntok_t *t,

Callers

nothing calls this directly

Calls 5

subsystem_to_strFunction · 0.85
clean_finished_oneFunction · 0.85
plugin_logFunction · 0.70
json_tok_full_lenFunction · 0.50
json_tok_fullFunction · 0.50

Tested by

no test coverage detected