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 "is in majority" bug #279

Open
AnthonyAkentiev opened this issue Aug 9, 2018 · 0 comments
Open

Fix "is in majority" bug #279

AnthonyAkentiev opened this issue Aug 9, 2018 · 0 comments
Labels

Comments

@AnthonyAkentiev
Copy link
Member

Кажись неправильно,

            ```bool isInMajority = 
                (getAllTokenAddresses(store)[i].balanceOf(_a)) >
                (getAllTokenAddresses(store)[i].totalSupply()/2);```

У нас есть quorum/consensus, а тут 51
Плюс для 1P1V не отработает

@AnthonyAkentiev AnthonyAkentiev added this to the Thetta Core v.3 milestone Aug 9, 2018
@AnthonyAkentiev AnthonyAkentiev changed the title Fix isCanDoAction bug Fix "is in majority" bug Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant