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

calc js: fix inaccurate (10×) storage price calculation #51

Merged
merged 1 commit into from
May 5, 2024

Conversation

roman-khimov
Copy link
Member

10e12 is 10¹³ which is not the valid NEOFS token precision. It's 10¹² or 1e12.

10e12 is 10¹³ which is _not_ the valid NEOFS token precision. It's 10¹² or 1e12.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
@roman-khimov roman-khimov requested a review from mike-petrov May 5, 2024 18:44
@roman-khimov roman-khimov changed the title calc js: fix inaccurate (10×) storage calculation calc js: fix inaccurate (10×) storage price calculation May 5, 2024
Copy link
Contributor

@mike-petrov mike-petrov left a comment

Choose a reason for hiding this comment

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

LGTM

@roman-khimov roman-khimov merged commit b89aba2 into master May 5, 2024
1 check passed
@roman-khimov roman-khimov deleted the fix-calculator-value branch May 5, 2024 20:49
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