From dd1e183b8aadf56e37506bf519aeeb8a4816809b Mon Sep 17 00:00:00 2001 From: Dusty Daemon Date: Wed, 18 Jun 2025 18:51:49 -0400 Subject: [PATCH] splice: Change abort rules to sent sigs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previous behavior was to fail on abort when we have signatures in the inflight — change this behavior to fail on abort if we have sent our peer our signatures. --- channeld/channeld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channeld/channeld.c b/channeld/channeld.c index eb201588d..43914b65e 100644 --- a/channeld/channeld.c +++ b/channeld/channeld.c @@ -1814,7 +1814,7 @@ static void splice_abort(struct peer *peer, const char *fmt, ...) reason = tal_vfmt(NULL, fmt, ap); va_end(ap); - if (have_i_signed_inflight(peer, inflight)) + if (inflight && inflight->i_sent_sigs) peer_failed_err(peer->pps, &peer->channel_id, "I needed to abort a splice where I have already" " sent my signatures");