Cleans up a `openchannel_init` by doing `openchannel_abort` for the channel*/
| 196 | |
| 197 | /* Cleans up a `openchannel_init` by doing `openchannel_abort` for the channel*/ |
| 198 | static void |
| 199 | mfc_cleanup_oc(struct command *cmd, |
| 200 | struct multifundchannel_cleanup *cleanup, |
| 201 | struct multifundchannel_destination *dest) |
| 202 | { |
| 203 | struct out_req *req = jsonrpc_request_start(cmd->plugin, |
| 204 | cmd, |
| 205 | "openchannel_abort", |
| 206 | &mfc_cleanup_done, |
| 207 | &mfc_cleanup_done, |
| 208 | cleanup); |
| 209 | json_add_channel_id(req->js, "channel_id", &dest->channel_id); |
| 210 | send_outreq(cmd->plugin, req); |
| 211 | } |
| 212 | |
| 213 | /* Cleans up a `fundchannel_start` by doing `fundchannel_cancel` on |
| 214 | the node. |
no test coverage detected