| 447 | } |
| 448 | |
| 449 | struct command_result * |
| 450 | perform_openchannel_signed(struct multifundchannel_command *mfc) |
| 451 | { |
| 452 | plugin_log(mfc->cmd->plugin, LOG_DBG, |
| 453 | "mfc %"PRIu64": parallel `openchannel_signed`.", |
| 454 | mfc->id); |
| 455 | |
| 456 | mfc->pending = dest_count(mfc, OPEN_CHANNEL); |
| 457 | for (size_t i = 0; i < tal_count(mfc->destinations); i++) { |
| 458 | if (!is_v2(&mfc->destinations[i])) |
| 459 | continue; |
| 460 | /* We need to 'port' all of the sigs down to the |
| 461 | * destination PSBTs */ |
| 462 | update_node_psbt(mfc, mfc->psbt, |
| 463 | &mfc->destinations[i].psbt); |
| 464 | openchannel_signed_dest(&mfc->destinations[i]); |
| 465 | } |
| 466 | |
| 467 | assert(mfc->pending != 0); |
| 468 | return command_still_pending(mfc->cmd); |
| 469 | } |
| 470 | |
| 471 | static struct command_result * |
| 472 | collect_sigs(struct multifundchannel_command *mfc) |
no test coverage detected