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

fix: don't use 3 for mainnet #2351

Merged
merged 3 commits into from
Feb 12, 2024
Merged

Conversation

joske
Copy link
Contributor

@joske joske commented Feb 12, 2024

The match statement is wrong for mainnet: should be 0, not 3. This causes REST calls to credits.aleo to fail.

Edit: also replace the magic number with a constant so this will not happen again.

@howardwu howardwu merged commit 276597b into AleoNet:mainnet Feb 12, 2024
77 of 78 checks passed
@joske joske deleted the fix/network-version-match branch June 25, 2024 07:12
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