stonecoldpat / anonymousvoting

Anonymous voting on Ethereum without a tally authority. Protocol from this paper http://homepages.cs.ncl.ac.uk/feng.hao/files/OpenVote_IET.pdf
340 stars 88 forks source link

Avoiding jump and jumpi instructions due to warnings #18

Open fedorloshakov opened 6 years ago

fedorloshakov commented 6 years ago

Replace jump and jumpi instructions in both AnonymousVoting.sol and LocalCrypto.sol with for and switch assembly instructions due to warnings. Switch instructions was used, because, for whatever reason, if instructions caused compilation errors.