Cleans up a `fundchannel_start` by doing `fundchannel_cancel` on the node. */
| 221 | the node. |
| 222 | */ |
| 223 | static void |
| 224 | mfc_cleanup_fc(struct command *cmd, |
| 225 | struct multifundchannel_cleanup *cleanup, |
| 226 | struct multifundchannel_destination *dest) |
| 227 | { |
| 228 | struct out_req *req = jsonrpc_request_start(cmd, |
| 229 | "fundchannel_cancel", |
| 230 | &mfc_cleanup_done, |
| 231 | &mfc_cleanup_done, |
| 232 | cleanup); |
| 233 | json_add_node_id(req->js, "id", &dest->id); |
| 234 | |
| 235 | send_outreq(req); |
| 236 | } |
| 237 | |
| 238 | /* Core cleanup function. */ |
| 239 | static struct command_result * |
no test coverage detected