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

Minor edits voting: added commas #583

Merged
merged 1 commit into from
Dec 21, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/viper-by-example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ Voting

In this contract, we will implement a system for participants to vote on a list
of proposals. The chairperson of the contract will be able to give each
participant the right to vote and each participant may choose to vote or
participant the right to vote, and each participant may choose to vote, or
delegate their vote to another voter. Finally, a winning proposal will be
determined upon calling the ``winning_proposals()`` method, which iterates through
all the proposals and returns the one with the greatest number of votes.
Expand All @@ -361,7 +361,7 @@ section by section. Let’s begin!

.. literalinclude:: ../examples/voting/ballot.v.py
:language: python
:lines: 3-21
:lines: 3-25

The variable ``voters`` is initialized as a mapping where the key is
the voter’s public address and the value is a struct describing the
Expand Down