Skip to content

Commit

Permalink
splice, vls: Fix missing check_mutual_channel_ready check.
Browse files Browse the repository at this point in the history
This delta was meant to be part of ([#6760]), maybe lost in a rebase.

Changelog-None
  • Loading branch information
ksedgwic committed Oct 31, 2023
1 parent 98ed6a0 commit 6193b5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion channeld/channeld.c
Original file line number Diff line number Diff line change
Expand Up @@ -5378,7 +5378,8 @@ static void handle_funding_depth(struct peer *peer, const u8 *msg)
peer_write(peer->pps, take(msg));

peer->channel_ready[LOCAL] = true;
} else if (splicing && !peer->splice_state->locked_ready[LOCAL]) {
check_mutual_channel_ready(peer);
} else if(splicing && !peer->splice_state->locked_ready[LOCAL]) {
assert(scid);

msg = towire_splice_locked(NULL, &peer->channel_id);
Expand Down

0 comments on commit 6193b5d

Please sign in to comment.