Merge pull request #13387 from taylorferran/improve-voting-example

Add detail about limitation in voting contract example
This commit is contained in:
matheusaaguiar 2022-08-30 10:41:41 -03:00 committed by GitHub
commit ecdc808e67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -193,5 +193,8 @@ of votes.
Possible Improvements
=====================
Currently, many transactions are needed to assign the rights
to vote to all participants. Can you think of a better way?
Currently, many transactions are needed to
assign the rights to vote to all participants.
Moreover, if two or more proposals have the same
number of votes, ``winningProposal()`` is not able
to register a tie. Can you think of a way to fix these issues?