Initiate the multiconnect. */
| 1690 | |
| 1691 | /* Initiate the multiconnect. */ |
| 1692 | static struct command_result * |
| 1693 | perform_multiconnect(struct multifundchannel_command *mfc) |
| 1694 | { |
| 1695 | unsigned int i; |
| 1696 | |
| 1697 | plugin_log(mfc->cmd->plugin, LOG_DBG, |
| 1698 | "mfc %"PRIu64": multiconnect.", mfc->id); |
| 1699 | |
| 1700 | mfc->pending = tal_count(mfc->destinations); |
| 1701 | |
| 1702 | for (i = 0; i < tal_count(mfc->destinations); ++i) |
| 1703 | connect_dest(&mfc->destinations[i]); |
| 1704 | |
| 1705 | assert(mfc->pending != 0); |
| 1706 | return command_still_pending(mfc->cmd); |
| 1707 | } |
| 1708 | |
| 1709 | |
| 1710 | /* Initiate the multifundchannel execution. */ |
no test coverage detected