From 7c9985fd9c0c532581a46a75a1fe43ecb9013850 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 19 Aug 2022 11:54:04 +0930 Subject: [PATCH] channeld: correct reversed shutdown message in billboard. It was backwards, which made #5496 confusing. Signed-off-by: Rusty Russell Changelog-Fixed: `listpeers` `status` "They've sent shutdown" and "We've sent shutdown" were backwards. --- common/billboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/billboard.c b/common/billboard.c index 04a685e369d8..5a1e62542b58 100644 --- a/common/billboard.c +++ b/common/billboard.c @@ -42,9 +42,9 @@ char *billboard_message(const tal_t *ctx, if (!shutdown_sent[LOCAL] && !shutdown_sent[REMOTE]) shutdown_status = ""; else if (!shutdown_sent[LOCAL] && shutdown_sent[REMOTE]) - shutdown_status = " We've send shutdown, waiting for theirs"; - else if (shutdown_sent[LOCAL] && !shutdown_sent[REMOTE]) shutdown_status = " They've sent shutdown, waiting for ours"; + else if (shutdown_sent[LOCAL] && !shutdown_sent[REMOTE]) + shutdown_status = " We've send shutdown, waiting for theirs"; else if (shutdown_sent[LOCAL] && shutdown_sent[REMOTE]) { if (num_htlcs) shutdown_status = tal_fmt(ctx,