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

E !boost::string_ref{sig_str}.starts_with(header_v1) && !boost::string_ref{sig_str}.starts_with(header_v2) #56

Open
tgbv opened this issue Jun 19, 2021 · 1 comment

Comments

@tgbv
Copy link

tgbv commented Jun 19, 2021

I'm using the latest monero version ('Oxygen Orion' v0.17.2.0-release). The following code throws the error message in monero-wallet-rpc:

let wallet = await monerojs.connectToWalletRpc("http://127.0.0.1:8885", "admin", "admin");

await wallet.addListener(new class extends monerojs.MoneroWalletListener {
  onOutputReceived(output) {
    console.log(output) // result is ok
  }
});

E !boost::string_ref{sig_str}.starts_with(header_v1) && !boost::string_ref{sig_str}.starts_with(header_v2). THROW EXCEPTION: error::wallet_internal_error

Is there a way to suppress/fix it to avoid logging spam?

@woodser
Copy link
Owner

woodser commented Jun 19, 2021

This issue is caused by monero-javascript using check_reserve_proof within isConnected() to determine if monero-wallet-rpc is connected to monero-daemon-rpc.

We need an alternative way to determine if monero-wallet-rpc is connected to monero-daemon-rpc to resolve this warning in monero-wallet-rpc's console.

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

No branches or pull requests

2 participants