| 459 | } |
| 460 | |
| 461 | struct command_result * |
| 462 | perform_openchannel_signed(struct multifundchannel_command *mfc) |
| 463 | { |
| 464 | plugin_log(mfc->cmd->plugin, LOG_DBG, |
| 465 | "mfc %"PRIu64": parallel `openchannel_signed`.", |
| 466 | mfc->id); |
| 467 | |
| 468 | mfc->pending = dest_count(mfc, OPEN_CHANNEL); |
| 469 | for (size_t i = 0; i < tal_count(mfc->destinations); i++) { |
| 470 | if (!is_v2(&mfc->destinations[i])) |
| 471 | continue; |
| 472 | /* We need to 'port' all of the sigs down to the |
| 473 | * destination PSBTs */ |
| 474 | update_node_psbt(mfc, mfc->psbt, |
| 475 | &mfc->destinations[i].psbt); |
| 476 | openchannel_signed_dest(&mfc->destinations[i]); |
| 477 | } |
| 478 | |
| 479 | assert(mfc->pending != 0); |
| 480 | return command_still_pending(mfc->cmd); |
| 481 | } |
| 482 | |
| 483 | static struct command_result * |
| 484 | collect_sigs(struct multifundchannel_command *mfc) |
no test coverage detected