df: don't ignore their sigs, even if we've already seen them

In the case of failures/disconnects between dualopend receiving the sigs
and the main man disconnecting (as can happen using the testing
disconnects), failing to forward their sigs over to lightningd can
result in the channel never progressing from DUALOPEND_OPEN_INIT
to DUALOPEND_AWAITING_LOCKIN.

Always re-relay.
This commit is contained in:
niftynei 2021-03-15 19:47:14 -05:00 committed by Rusty Russell
parent dd696a7c05
commit bc90c4f822
1 changed files with 0 additions and 6 deletions

View File

@ -900,12 +900,6 @@ static void handle_tx_sigs(struct state *state, const u8 *msg)
"tx_signatures sent after funding_locked %s",
tal_hex(msg, msg));
if (tx_state->remote_funding_sigs_rcvd) {
status_info("Got duplicate WIRE_TX_SIGNATURES, "
"already have their sigs. Ignoring");
return;
}
if (!tx_state->psbt)
open_err_warn(state,
"tx_signatures for %s received,"