get10101 / 10101-PoC

The world needs more Lightning!
MIT License
17 stars 3 forks source link

`Open Channel` card in `pending` state while closing a channel #519

Open da-kami opened 1 year ago

da-kami commented 1 year ago

After closing the channel I see the Open Channel card on the dashboard, but in pending state (cannot tap, grey spinner).

This is not a big deal but confusing. Eventually the channel was successfully closed and the card changed to an active Open Channel.

image

da-kami commented 1 year ago

Come to think of it, this might actually be a feature, not a bug - because it indicates that one will be able to open a channel again once the channel was closed 😅

Not sure this is intended though, and it should probably read different.

holzeis commented 1 year ago

@da-kami I guess this is still the case, with the exception that it will now show a disconnected maker card. Since the channel is ready but not useable anymore - until the channel is removed from the channel list.

It is still not clean to use the channel state to derive if the maker is disconnected. We currently can't distinguish between a disconnected maker and a channel in shutdown. 😕