-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wallet_rpc_server: error out if wallet-file and wallet-dir are both used #4337
Conversation
Can it not be a valid case to supply both parameters though? I.e. subsequent opens can use just a filename and the pre-supplied wallet-dir? |
Sure, that'd be OK too. |
@jtgrassie after further testing, when passing both |
@el00ruobuob my point is this... when a user supplies |
@jtgrassie i do agree with you, i'm just reporting the current behavior. |
@jtgrassie no. If you start with --wallet-file that means you want the server to only work with that single file. If you start with --wallet-dir that means you want to support multiple files. I wrote it this way to preserve compatibility with previous --wallet-file behavior. |
@hyc Fair enough. That makes sense then. |
And I do understand the behavior. Thanks @hyc |
4d8aa82
to
97764ba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed
97764ba wallet_rpc_server: error out if wallet-file and wallet-dir are both used (moneromooo-monero)
No description provided.