Skip to content

Commit 7c9985f

Browse files
rustyrussellniftynei
authored andcommitted
channeld: correct reversed shutdown message in billboard.
It was backwards, which made #5496 confusing. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Fixed: `listpeers` `status` "They've sent shutdown" and "We've sent shutdown" were backwards.
1 parent aabf38a commit 7c9985f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/billboard.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ char *billboard_message(const tal_t *ctx,
4242
if (!shutdown_sent[LOCAL] && !shutdown_sent[REMOTE])
4343
shutdown_status = "";
4444
else if (!shutdown_sent[LOCAL] && shutdown_sent[REMOTE])
45-
shutdown_status = " We've send shutdown, waiting for theirs";
46-
else if (shutdown_sent[LOCAL] && !shutdown_sent[REMOTE])
4745
shutdown_status = " They've sent shutdown, waiting for ours";
46+
else if (shutdown_sent[LOCAL] && !shutdown_sent[REMOTE])
47+
shutdown_status = " We've send shutdown, waiting for theirs";
4848
else if (shutdown_sent[LOCAL] && shutdown_sent[REMOTE]) {
4949
if (num_htlcs)
5050
shutdown_status = tal_fmt(ctx,

0 commit comments

Comments
 (0)