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

refactor make_request.rs #2

Open
Bayernatoor opened this issue Jan 11, 2023 · 0 comments
Open

refactor make_request.rs #2

Bayernatoor opened this issue Jan 11, 2023 · 0 comments

Comments

@Bayernatoor
Copy link
Owner

Bayernatoor commented Jan 11, 2023

Currently this function makes a call to the slushpool API and the response which comes back as JSON is parsed into a hardcoded struct. If the response were to ever change this would cause and error and likely crash the program.

Should be able to create the struct along with all it's values based on what the response is sending back.

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

1 participant