Skip to content

Bug: Exporting wallet exports wrong NWC string unless that wallet is active #448

Description

@dmnyc

When more than one NWC account is present, a user attempting to export the string of an inactive wallet gets a copy of the active wallet's NWC string in their clipboard. This can lead to loss of funds by pasting the wrong string into another app or a user believing they have copied the string of the intended wallet before deleting it from the app.

This is confusing to the user because they see the correct wallet name and Lightning address from the Edit Wallet screen, but the export button still exports the wrong NWC string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions