| 323 | } |
| 324 | |
| 325 | static 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 */ |
| 336 | static struct command_result *cleanup(struct command *aux_cmd, |
nothing calls this directly
no test coverage detected