To simplify the voting example smart contract to make the online tutorial easier to follow.
Changes
Simplifies the voting example smart contract, making it basically 2/3s the size of what it was (although it may not be as efficient, but it is a tutorial and I feel that simplicity in this case is more important than performance optimization).
Slight rewrite of the default template.
Simplification of the default template by not requiring a description field (it is not a required field in the Cargo.toml).
Checklist
[x] My code follows the style of this project.
[x] The code compiles without warnings.
[x] I have performed a self-review of the changes.
[x] I have documented my code, in particular the intent of the
hard-to-understand areas.
Purpose
To simplify the voting example smart contract to make the online tutorial easier to follow.
Changes
Cargo.toml
).Checklist