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 showing 'null' decimals on token details #116

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

Radiokot
Copy link
Member

@Radiokot Radiokot commented Sep 9, 2024

Purpose

Fix showing 'null' decimals on token details, an error brought by the CIS-2 notifications feature.

Changes

  • Show 0 instead of 'null' when a token has no decimals in the metadata

Checklist

  • My code follows the style of this project.
  • The code compiles without warnings.
  • I have performed a self-review of the changes.
  • I have documented my code, in particular the intent of the
    hard-to-understand areas.

Show 0 instead of 'null' when a token has no decimals in the metadata.
@Radiokot Radiokot merged commit be924c7 into main Sep 9, 2024
1 check passed
@Radiokot Radiokot deleted the fix/showing-null-cis2-decimals branch September 9, 2024 14:02
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