Skip to content

Commit acd0277

Browse files
committed
fixup! splice: Update to Eclair style of reestablish
1 parent 0379423 commit acd0277

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

channeld/channeld.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5749,8 +5749,8 @@ static void peer_reconnect(struct peer *peer,
57495749
* `commitment_signed`.
57505750
*/
57515751
if (next_commitment_number == peer->next_index[REMOTE] - 1) {
5752-
/* We completed opening, we don't re-transmit that one! */
5753-
if (next_commitment_number == 0)
5752+
/* We completed opening, we don't re-transmit that one unless negotiating a splice. */
5753+
if (remote_next_funding == NULL && next_commitment_number == 0)
57545754
peer_failed_err(peer->pps,
57555755
&peer->channel_id,
57565756
"bad reestablish commitment_number: %"

0 commit comments

Comments
 (0)