Skip to content

Commit 42a1029

Browse files
ddustinrustyrussell
authored andcommitted
splice: reestablish should only assume stfu in one case
1 parent 6ebe6bf commit 42a1029

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

channeld/channeld.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5056,7 +5056,6 @@ static void peer_reconnect(struct peer *peer,
50565056
if (inflight && (remote_next_funding || local_next_funding)) {
50575057
if (!remote_next_funding) {
50585058
status_info("Resuming splice negotation.");
5059-
assume_stfu_mode(peer);
50605059
resume_splice_negotiation(peer,
50615060
false,
50625061
true,
@@ -5068,6 +5067,7 @@ static void peer_reconnect(struct peer *peer,
50685067
assert(local_next_funding || inflight->remote_tx_sigs);
50695068

50705069
status_info("Resuming splice negotation");
5070+
/* If send & receive sigs we must assume stfu */
50715071
if (local_next_funding)
50725072
assume_stfu_mode(peer);
50735073
resume_splice_negotiation(peer,

0 commit comments

Comments
 (0)