| 421 | } |
| 422 | |
| 423 | static void |
| 424 | openchannel_signed_dest(struct multifundchannel_destination *dest) |
| 425 | { |
| 426 | struct multifundchannel_command *mfc = dest->mfc; |
| 427 | struct command *cmd = mfc->cmd; |
| 428 | struct out_req *req; |
| 429 | |
| 430 | plugin_log(cmd->plugin, LOG_DBG, |
| 431 | "mfc %"PRIu64", dest %u: `openchannel_signed` %s " |
| 432 | "psbt %s", |
| 433 | mfc->id, dest->index, |
| 434 | type_to_string(tmpctx, struct channel_id, &dest->channel_id), |
| 435 | type_to_string(tmpctx, struct wally_psbt, dest->psbt)); |
| 436 | |
| 437 | req = jsonrpc_request_start(cmd->plugin, |
| 438 | cmd, |
| 439 | "openchannel_signed", |
| 440 | &openchannel_signed_ok, |
| 441 | &openchannel_signed_err, |
| 442 | dest); |
| 443 | json_add_channel_id(req->js, "channel_id", &dest->channel_id); |
| 444 | json_add_psbt(req->js, "signed_psbt", dest->psbt); |
| 445 | |
| 446 | send_outreq(cmd->plugin, req); |
| 447 | } |
| 448 | |
| 449 | struct command_result * |
| 450 | perform_openchannel_signed(struct multifundchannel_command *mfc) |
no test coverage detected