-
Notifications
You must be signed in to change notification settings - Fork 137
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
A minor issue with using "-h" option to run the wallet in current directory #728
Comments
I just want to mention that this issue of not correctly detecting (or creating) the API secret when using -h or -t is quite a high priority bug in my opinion, since it blocks anyone from testing using multiple wallets on a single machine - unless they would run a docker instance for each wallet. I am not sure even what exactly the root issue is here. |
This issue should not block from using multiple wallets. The secrets inside wallet directory are for wallet API. Don't copy the secrets, but instead correct
Node API secrets: Wallet API secrets: Btw, I don't have If you already messed up the secrets, just delete them, restart node & wallet and correct I hope this helps. |
Thanks, that was useful 👍 . |
I am working on a fix to this issue, and I have some questions. The next step is changing the default behavior in setting the directory for Question 2: Should I change the default behavior to let the wallet look for the nodes |
When you are creating a wallet in the current directory using
grin-wallet init -h
command, you will end up with errors saying that wallet can't contact a node.The reason is that wallet creates API secrets paths in grin-wallet.toml file pointing to the current directory, not the actual/correct paths of node's api secrets location.
It would be nice if wallet could auto-detect the correct paths, if not possible then just print a simple message, saying that you need to correct API secrets paths, e.g.:
The text was updated successfully, but these errors were encountered: