Skip to content

Conversation

mzumsande
Copy link
Contributor

I'm not very familiar with the wallet and got confused by the error messages

Wallet file not specified (must request wallet RPC through /wallet/<filename> uri-path).
Try adding "-rpcwallet=<filename>" option to bitcoin-cli command line.

not knowing which filename to put here (some wallet.dat in the wallet's directory?), when actually, at least for newer wallets, just the wallet name is expected.

It is not clear which file was meant here.
@DrahtBot
Copy link
Contributor

DrahtBot commented Sep 16, 2024

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage

For detailed information about the code coverage, see the test coverage report.

Reviews

See the guideline for information on the review process.
A summary of reviews will appear here.

@jonatack
Copy link
Member

See #26990.

@mzumsande
Copy link
Contributor Author

See #26990.

Is this related? My problem was that I was asked to provide a filename when in reality a wallet name or maybe directory name is expected. That PR seems to address a different issue?

@jonatack
Copy link
Member

jonatack commented Sep 16, 2024

Yes, this is a duplicate of the first commit in #26990 (might be good to provide review feedback there).

@mzumsande
Copy link
Contributor Author

How can it be a duplicate if it still says "filename" everywhere after the first commit of #26990? I mean I'm happy to close this trivial PR if #26990 wants to rename that too (if it's correct to do so) but how can they be duplicates if they do different things?!

@jonatack
Copy link
Member

As they both touch the same lines, I thought you may not have been aware of that pull and that the natural course of action would be to leave feedback there rather than both pulls proposing to improve the same message. If you disagree with that I apologize.

@mzumsande
Copy link
Contributor Author

If you disagree with that I apologize.

I wasn't aware of the PR and actually agree with that, I just thought (already from the first comment) you wanted to say that the PRs are duplicates, as in addressing the same issue, which they are not.

@mzumsande mzumsande closed this Sep 16, 2024
@mzumsande mzumsande deleted the 202409_multiwallet_rpc_error branch September 17, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants