df-open: send the tx-sigs from channeld, check that we send it at the

...right time.

We re-send the tx_sigs on start/init/reconnect until we've gotten a
funding_locked from our peer. We also build it in channeld now, instead
of in dualopend, and don't pass in a message for them anymore
This commit is contained in:
niftynei
2020-09-11 14:15:41 -05:00
committed by Rusty Russell
parent 865c9e9567
commit 6c31eb9dd0
2 changed files with 61 additions and 8 deletions

View File

@@ -1055,7 +1055,7 @@ peer_connected_hook_cb(struct peer_connected_hook_payload *payload STEALS,
channel->peer->addr = addr;
peer_start_channeld(channel, payload->pps,
NULL, NULL,
NULL, channel->psbt,
true);
tal_free(payload);
return;