-
Notifications
You must be signed in to change notification settings - Fork 354
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
api.derive.staking.electedInfo returns duplicated data #5869
Comments
Thanks for reporting this, I am in the process of fixes the staking derives so I'll look into this today as well. It currently looks like it has to do with |
Im not exactly able to reproduce the above, what chain are you querying westend? |
I have been using westend. I got it working by using |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query. |
When using
api.derive.staking.electedInfo
it will fetch duplicated data that should exist only once.I.e if running the following code
will return something like this (where . . . represents repeated addresses)
REQUIRED:
Version: v11.0.2
Environment: node js v20.12.2
Language: 4.8.3
The text was updated successfully, but these errors were encountered: