Open
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:
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
Labels
No labels