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

Function cleanup_finished

plugins/xpay/xpay.c:325–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323}
324
325static struct command_result *cleanup_finished(struct command *aux_cmd,
326 const char *method,
327 const char *buf,
328 const jsmntok_t *result,
329 struct payment *payment)
330{
331 /* payment is a child of aux_cmd, so freed now */
332 return aux_command_done(aux_cmd);
333}
334
335/* Last of all we destroy the private layer */
336static struct command_result *cleanup(struct command *aux_cmd,

Callers

nothing calls this directly

Calls 1

aux_command_doneFunction · 0.85

Tested by

no test coverage detected