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

Skip request when there are no validators #693

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

0xfornax
Copy link
Member

Skips the validator duties query when there are no validators running.
Closes #690

Copy link
Contributor

@jshufro jshufro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like both places that call the function simply iterate over it with for which is nil-safe.

@0xfornax 0xfornax merged commit 54629df into master Oct 30, 2024
4 checks passed
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 this pull request may close these issues.

errors while trying to query BN on Oracle DAO node
2 participants