Skip to content

Export Watch only missing .dat file extension #956

Closed

Description

@polespinasa

When exporting a watchonly wallet using the GUI the .dat extension is not automatically added to the file.
The GUI then is not able to restore a wallet without the explicit .dat extension.

Note: I did not check if this also happens using RPC, will update the issue when tested.
Edit: The RPC is unaffected by this, it does allow non .dat files.

With .dat works:

Image

Without .dat does not see it:

Image

Activity

  1. self-assigned this
    on Aug 4, 2026
  2. polespinasa commented on Aug 5, 2026

    @polespinasa
    MemberAuthor

    This is fixed in #957

  3. hebasto commented on Aug 8, 2026

    @hebasto
    Member

    When exporting a watchonly wallet using the GUI the .dat extension is not automatically added to the file.

    The GUI behaviour is consistent with the RPC.

    The GUI then is not able to restore a wallet without the explicit .dat extension.

    Perhaps we could provide the user with a hint?

  4. polespinasa commented on Aug 11, 2026

    @polespinasa
    MemberAuthor

    The GUI behaviour is consistent with the RPC.

    For the export part I think so, but for importing, it does allow importing non .dat files. While the GUI does not show them.

    Perhaps we could provide the user with a hint?

    Maybe we could allow importing non .dat file too. If the file is not a wallet backup, the import should just fail.

  5. added a commit that references this issue on Aug 15, 2026
  6. added a commit that references this issue on Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions