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

Correct variable name in getInteractions example #43

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

savvar9991
Copy link
Contributor

Change in code:

-const blockchainStats = async () => {
+const interactions = async () => {

The variable was changed from blockchainStats to interactions to match the data returned from the getInteractions() method.
This change also prevents potential errors:
-Avoids confusion with the getBlockchainStats method
-Prevents incorrect usage of returned data

@jovfer jovfer merged commit b1d1a6b into Ankr-network:main Jan 15, 2025
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.

2 participants