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

iota.get_node_info().unwrap expects only IRI nodes. #41

Closed
l3wi opened this issue Apr 22, 2020 · 0 comments · Fixed by #40
Closed

iota.get_node_info().unwrap expects only IRI nodes. #41

l3wi opened this issue Apr 22, 2020 · 0 comments · Fixed by #40

Comments

@l3wi
Copy link

l3wi commented Apr 22, 2020

get_node_info() expect the node to return a set of fields related to the Java Runtime, jre*, however node software such as Hornet doesn't return these fields as it uses Go.

I'm a bit of a Rust noob, so forgive the obvious solution I'm missing, but would it be best to drop these fields entirely as node software moving forward such as Bee and Hornet wont have these included.

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error(Json(Error("missing field `jreAvailableProcessors`", line: 1, column: 655)))', /...../iota-client-0.3.0/client.rs:261:48
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@wusyong wusyong mentioned this issue Apr 27, 2020
19 tasks
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.

1 participant