| 769 | } |
| 770 | |
| 771 | static void |
| 772 | fundchannel_complete_dest(struct multifundchannel_destination *dest) |
| 773 | { |
| 774 | struct multifundchannel_command *mfc = dest->mfc; |
| 775 | struct command *cmd = mfc->cmd; |
| 776 | struct out_req *req; |
| 777 | |
| 778 | plugin_log(mfc->cmd->plugin, LOG_DBG, |
| 779 | "mfc %"PRIu64", dest %u: fundchannel_complete %s.", |
| 780 | mfc->id, dest->index, |
| 781 | node_id_to_hexstr(tmpctx, &dest->id)); |
| 782 | |
| 783 | req = jsonrpc_request_start(cmd->plugin, |
| 784 | cmd, |
| 785 | "fundchannel_complete", |
| 786 | &fundchannel_complete_ok, |
| 787 | &fundchannel_complete_err, |
| 788 | dest); |
| 789 | json_add_node_id(req->js, "id", &dest->id); |
| 790 | json_add_psbt(req->js, "psbt", mfc->psbt); |
| 791 | |
| 792 | send_outreq(cmd->plugin, req); |
| 793 | } |
| 794 | |
| 795 | struct command_result * |
| 796 | perform_fundchannel_complete(struct multifundchannel_command *mfc) |
no test coverage detected