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

Balance Variable Refacorization #35

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

0xShadowScripter
Copy link
Contributor

Refactor Balance Handling for Clarity and Precision

Changes

  • Introduced a new variable refactoredBalance which is initialized with the numeric conversion of the balance string.
  • Used refactoredBalance consistently within the getSnapShotBySnapShotUserVolumeAndReward function to update the totalUserVolume. This change ensures that all arithmetic operations on user volumes are performed with consistent typing.

@zikriya zikriya merged commit 71643eb into ferrumnet:develop Apr 19, 2024
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