Skip to content

Confusing channel-open-flow if not connected to electrum server #7177

Open
@SomberNight

Description

@SomberNight
  • Open Electrum, Qt GUI, with internet connection
  • Open network dialog, and break connection to server; e.g. auto-connect off, and change port to 1
  • Open a new lightning channel
    • flow will succeed, but tx broadcast will fail
    • GUI gives positive feedback to user, does not even say broadcast failed
    • new channel appears in Channels tab, in "OPENING" state; channel cannot be deleted
    • funding tx appears in History tab, as a local unsigned tx

At this point the user can either manually sign and broadcast the funding tx (using the local tx in the History);
or abandon the channel and e.g. remove the local tx (but they cannot delete the channel from the Channels tab).


This is very confusing. I suppose it can happen organically if e.g. there are some server issues during the channel-open.

At the very least, the GUI messages should be changed to tell the user they need to broadcast manually.
Also, perhaps we should allow the user to delete the channel -- but not sure what this could be conditioned on; as it is prone to server-initiated attacks... (if the user deletes the channel but then the funding tx does confirm...)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions