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

Topping up max fails because of rounding #168

Open
banteg opened this issue Mar 23, 2020 · 0 comments
Open

Topping up max fails because of rounding #168

banteg opened this issue Mar 23, 2020 · 0 comments

Comments

@banteg
Copy link

banteg commented Mar 23, 2020

Topping up with a balance like x.xxxx9 will fail because it rounds up, not down. I see no reason to use rounding at all for things not related to display purposes. To fix this use use the actual wei value on "Set max".

Another possible bug is that "Top up" shows some leftover amount when in fact the full amount is in the voting contract. Not sure where it comes from.
image

I haven't tried the withdrawals but "Set max" seems to work fine there.

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