mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 13:25:43 +01:00
c656cfe38d
While debugging a hanging channel with a user I noticed that they called `close` on a channel, resulting in the channel showing `CHANNELD_SHUTTING_DOWN`, but the billboard seemed to show the information the wrong way around: ```json { "peers": [ { "connected": true, // ... "channels": [ { "state": "CHANNELD_SHUTTING_DOWN", // ... "status": [ "CHANNELD_SHUTTING_DOWN:Reconnected, and reestablished.", "CHANNELD_SHUTTING_DOWN:Funding transaction locked. They need our announcement signatures. They've sent shutdown, waiting for ours" ], // ... } ] } ] } ``` Aside from the hung channel, the switch in direction of the status seemed weird. Checking the billboard code seems to have the status switched as well: |
||
---|---|---|
.. | ||
test | ||
channeld_htlc.h | ||
channeld_wire.csv | ||
channeld_wiregen.c | ||
channeld_wiregen.h | ||
channeld.c | ||
commit_tx.c | ||
commit_tx.h | ||
full_channel_error.h | ||
full_channel.c | ||
full_channel.h | ||
Makefile | ||
watchtower.c | ||
watchtower.h |