Skip to content

Wallet file not specified error if multiple Core wallets open #98

Open
@thephez

Description

Issue

If Core has multiple wallets open, this JSON-RPC error is returned because DET isn't providing an rpcwallet parameter (see docs):

JSON-RPC error: RPC error response: RpcError { code: -19, message: "Wallet file not specified (must request wallet RPC through /wallet/<filename> uri-path).", data: None }

Example screenshot:

image

Also, it seems that the error won't go away even if the user closes all but one wallet and hits refresh. It's not clear if the refresh works and the error just isn't removed or if the refresh is failing.

Possible solution

Use the listwallets RPC to check if multiple Core wallets are open and provide a more helpful error message to the user.

Or allow them to select which wallet they want to use? Not sure if that's a good idea though 🤷‍♂️

Metadata

Assignees

No one assigned

    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