mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
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.
This commit is contained in:
parent
aabf38a11d
commit
7c9985fd9c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user