| 777 | } |
| 778 | |
| 779 | static void |
| 780 | openchannel_update_dest(struct multifundchannel_destination *dest) |
| 781 | { |
| 782 | struct multifundchannel_command *mfc = dest->mfc; |
| 783 | struct command *cmd = mfc->cmd; |
| 784 | struct out_req *req; |
| 785 | |
| 786 | plugin_log(cmd->plugin, LOG_DBG, |
| 787 | "mfc %"PRIu64", dest %u: `openchannel_update` %s " |
| 788 | "with psbt %s", |
| 789 | mfc->id, dest->index, |
| 790 | fmt_node_id(tmpctx, &dest->id), |
| 791 | fmt_wally_psbt(tmpctx, dest->psbt)); |
| 792 | |
| 793 | req = jsonrpc_request_start(cmd, |
| 794 | "openchannel_update", |
| 795 | &openchannel_update_ok, |
| 796 | &openchannel_update_err, |
| 797 | dest); |
| 798 | json_add_channel_id(req->js, "channel_id", &dest->channel_id); |
| 799 | json_add_psbt(req->js, "psbt", dest->psbt); |
| 800 | |
| 801 | send_outreq(req); |
| 802 | } |
| 803 | |
| 804 | struct command_result * |
| 805 | perform_openchannel_update(struct multifundchannel_command *mfc) |
no test coverage detected