| 165 | } |
| 166 | |
| 167 | static struct out_req *del_request_start(const char *method, |
| 168 | struct clean_info *cinfo, |
| 169 | enum subsystem subsystem) |
| 170 | { |
| 171 | struct del_data *del_data = tal(plugin, struct del_data); |
| 172 | |
| 173 | del_data->cinfo = cinfo; |
| 174 | del_data->subsystem = subsystem; |
| 175 | cinfo->cleanup_reqs_remaining++; |
| 176 | return jsonrpc_request_start(plugin, NULL, method, |
| 177 | del_done, del_failed, del_data); |
| 178 | } |
| 179 | |
| 180 | static struct command_result *listinvoices_done(struct command *cmd, |
| 181 | const char *buf, |
no outgoing calls
no test coverage detected