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
co-authored by Bhargava Shastry
parent 942a3301dc
commit 6fbfa33486
+1 -1
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) {