Skip to content

Commit

Permalink
splice: reestablish should only assume stfu in one case
Browse files Browse the repository at this point in the history
  • Loading branch information
ddustin committed Feb 21, 2024
1 parent 3947aac commit 5a5315f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion channeld/channeld.c
Original file line number Diff line number Diff line change
Expand Up @@ -5148,7 +5148,6 @@ static void peer_reconnect(struct peer *peer,
if (inflight && (remote_next_funding || local_next_funding)) {
if (!remote_next_funding) {
status_info("Resuming splice negotation.");
assume_stfu_mode(peer);
resume_splice_negotiation(peer,
false,
true,
Expand All @@ -5160,6 +5159,7 @@ static void peer_reconnect(struct peer *peer,
assert(local_next_funding || inflight->remote_tx_sigs);

status_info("Resuming splice negotation");
/* If send & receive sigs we must assume stfu */
if (local_next_funding)
assume_stfu_mode(peer);
resume_splice_negotiation(peer,
Expand Down

0 comments on commit 5a5315f

Please sign in to comment.