From d84d0f70d5b26e597a0b243e29dc36676f60a5ac Mon Sep 17 00:00:00 2001 From: Dusty Daemon Date: Wed, 18 Jun 2025 18:51:04 -0400 Subject: [PATCH] splice: Track if splice sigs are sent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the new i_sent_sigs field to track if we’ve sent our peer our user sigs. --- channeld/channeld.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/channeld/channeld.c b/channeld/channeld.c index 1f8efdedc..eb201588d 100644 --- a/channeld/channeld.c +++ b/channeld/channeld.c @@ -3627,6 +3627,7 @@ static void resume_splice_negotiation(struct peer *peer, psbt_txid(tmpctx, current_psbt, &final_txid, NULL); + inflight->i_sent_sigs = send_signature; if (do_i_sign_first(peer, current_psbt, our_role, inflight->force_sign_first) && send_signature) { @@ -3827,7 +3828,7 @@ static void resume_splice_negotiation(struct peer *peer, wit_stack); } - if (recv_signature) { + if (recv_signature || send_signature) { /* We let core validate our peer's signatures are correct. */ msg = towire_channeld_update_inflight(NULL, current_psbt, NULL, NULL,