splice, vls: Fix missing check_mutual_channel_ready check.

This delta was meant to be part of ([#6760]), maybe lost in a rebase.

Changelog-None
This commit is contained in:
Ken Sedgwick 2023-09-24 15:12:02 -07:00 committed by Peter Neuroth
parent 76954d1105
commit 577075cc37

View file

@ -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);