-
Notifications
You must be signed in to change notification settings - Fork 790
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: Mismatching type of difficulty_trend in deprecated active_difficulty call #3323
Comments
This RPC command is now marked as deprecated. |
that's what the title of this issue says yes methods are deprecated to allow to transition away from using them, if there's a breaking change that causes existing integrations to malfunction then it defeats the purpose |
My bad, didn't notice it in the title. |
Looks like the RPC was completely removed and then got re-added in but now will always send an empty difficulty_trend response (RPC always returns empty string instead of empty array). I can make a pull request to make it send |
Fixed by #3343 |
Summary
difficulty_trend
returns astring
rather than anarray
, which caused issues in some wallets relying on it, e.g gonano wallet:Node version
Nano V22.0
Build details
several community-ran nodes
OS and version
several community-ran nodes
Steps to reproduce the behavior
make an RPC call
Expected behavior
expected to produce a list as per docs page
Actual behavior
produces an empty string instead
Possible solution
return a single-item list
Supporting files
No response
The text was updated successfully, but these errors were encountered: