anonymousvoting icon indicating copy to clipboard operation
anonymousvoting copied to clipboard

AnonymousVoting.sol: avoid jump and jumpi instructions

Open fedorloshakov opened this issue 7 years ago • 0 comments

Due to warnings, replacing jump and jumpi instructions with for and switch assembly commands. Because of if, for whatever reason, caused errors during compilation, use switch as an alternative with empty default case.

Signed-off-by: Fedor Loshakov [email protected]

fedorloshakov avatar Jan 27 '18 15:01 fedorloshakov