| 434 | } |
| 435 | |
| 436 | static void |
| 437 | openchannel_signed_dest(struct multifundchannel_destination *dest) |
| 438 | { |
| 439 | struct multifundchannel_command *mfc = dest->mfc; |
| 440 | struct command *cmd = mfc->cmd; |
| 441 | struct out_req *req; |
| 442 | |
| 443 | plugin_log(cmd->plugin, LOG_DBG, |
| 444 | "mfc %"PRIu64", dest %u: `openchannel_signed` %s " |
| 445 | "psbt %s", |
| 446 | mfc->id, dest->index, |
| 447 | fmt_channel_id(tmpctx, &dest->channel_id), |
| 448 | fmt_wally_psbt(tmpctx, dest->psbt)); |
| 449 | |
| 450 | req = jsonrpc_request_start(cmd, |
| 451 | "openchannel_signed", |
| 452 | &openchannel_signed_ok, |
| 453 | &openchannel_signed_err, |
| 454 | dest); |
| 455 | json_add_channel_id(req->js, "channel_id", &dest->channel_id); |
| 456 | json_add_psbt(req->js, "signed_psbt", dest->psbt); |
| 457 | |
| 458 | send_outreq(req); |
| 459 | } |
| 460 | |
| 461 | struct command_result * |
| 462 | perform_openchannel_signed(struct multifundchannel_command *mfc) |
no test coverage detected