Skip to content
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

[bug] - Set daemon allows any address #8316

Open
reemuru opened this issue May 6, 2022 · 0 comments
Open

[bug] - Set daemon allows any address #8316

reemuru opened this issue May 6, 2022 · 0 comments

Comments

@reemuru
Copy link

reemuru commented May 6, 2022

Related to #8314

Current behavior:
The set_daemon wallet rpc command allows setting the daemon to an invalid address without any notification from the rpc response. This in turn results in the wallet rpc staying alive but continuously throwing the "Exception while refreshing, what=no connection to daemon" error message.

Expected behavior:
Return an error message / code in the http response when there is no daemon running at the address passed.

Steps to replicate

  1. Start monerod
  2. Connect monero-wallet-rpc and open a wallet
  3. Call set_daemon with an invalid daemon address

Reference:
https://www.getmonero.org/resources/developer-guides/wallet-rpc.html#set_daemon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
@reemuru and others