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

A possible problem with number precision #29

Open
hieu-van opened this issue Nov 15, 2021 · 0 comments
Open

A possible problem with number precision #29

hieu-van opened this issue Nov 15, 2021 · 0 comments

Comments

@hieu-van
Copy link

Hey there, I have noticed an anomaly with the balance number, that it seems to be always off by a few wei. For example, if A sends B 1 token then B's balance shows up as 0.9999…9 tokens.

I believe this is due to precision handling in smartbchd, as both SmartScan and MetaMask exerts the same behavior.

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

No branches or pull requests

1 participant