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

Function del_failed

plugins/autoclean.c:152–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152static struct command_result *del_failed(struct command *cmd,
153 const char *buf,
154 const jsmntok_t *result,
155 struct del_data *del_data)
156{
157 struct clean_info *cinfo = del_data->cinfo;
158
159 plugin_log(plugin, LOG_UNUSUAL, "%s del failed: %.*s",
160 subsystem_to_str(del_data->subsystem),
161 json_tok_full_len(result),
162 json_tok_full(buf, result));
163 tal_free(del_data);
164 return clean_finished_one(cinfo);
165}
166
167static struct out_req *del_request_start(const char *method,
168 struct clean_info *cinfo,

Callers

nothing calls this directly

Calls 6

subsystem_to_strFunction · 0.85
tal_freeFunction · 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