Initiate the multiconnect. */
| 1638 | |
| 1639 | /* Initiate the multiconnect. */ |
| 1640 | static struct command_result * |
| 1641 | perform_multiconnect(struct multifundchannel_command *mfc) |
| 1642 | { |
| 1643 | unsigned int i; |
| 1644 | |
| 1645 | plugin_log(mfc->cmd->plugin, LOG_DBG, |
| 1646 | "mfc %"PRIu64": multiconnect.", mfc->id); |
| 1647 | |
| 1648 | mfc->pending = tal_count(mfc->destinations); |
| 1649 | |
| 1650 | for (i = 0; i < tal_count(mfc->destinations); ++i) |
| 1651 | connect_dest(&mfc->destinations[i]); |
| 1652 | |
| 1653 | assert(mfc->pending != 0); |
| 1654 | return command_still_pending(mfc->cmd); |
| 1655 | } |
| 1656 | |
| 1657 | |
| 1658 | /* Initiate the multifundchannel execution. */ |
no test coverage detected