mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #12985 from sey/improve-wording-on-voting-example
Improve wording on voting example
This commit is contained in:
commit
44157aa69a
@ -133,7 +133,7 @@ of votes.
|
||||
// modifies `voters[msg.sender].voted`
|
||||
Voter storage delegate_ = voters[to];
|
||||
|
||||
// Voters cannot delegate to wallets that cannot vote.
|
||||
// Voters cannot delegate to accounts that cannot vote.
|
||||
require(delegate_.weight >= 1);
|
||||
sender.voted = true;
|
||||
sender.delegate = to;
|
||||
|
Loading…
Reference in New Issue
Block a user