Update docs/examples/voting.rst

Co-authored-by: Bhargava Shastry <bshastry@ethereum.org>
This commit is contained in:
Semar Augusto 2021-12-29 07:04:13 -03:00 committed by GitHub
parent 942a3301dc
commit 6fbfa33486
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,7 +133,7 @@ of votes.
Voter storage delegate_ = voters[to];
// Voters cannot delegate to wallets that cannot vote.
require(delegate_.weight >= 1)
require(delegate_.weight >= 1);
sender.voted = true;
sender.delegate = to;
if (delegate_.voted) {