mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Improve wording on voting example
From a beginner perspective, it is the first time in the documentation that the term wallets is used. Other terms such as accounts or addresses are explained in the Introduction to smart contracts.
This commit is contained in:
parent
1dba6aafe4
commit
c7d57031b5
@ -133,7 +133,7 @@ of votes.
|
|||||||
// modifies `voters[msg.sender].voted`
|
// modifies `voters[msg.sender].voted`
|
||||||
Voter storage delegate_ = voters[to];
|
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);
|
require(delegate_.weight >= 1);
|
||||||
sender.voted = true;
|
sender.voted = true;
|
||||||
sender.delegate = to;
|
sender.delegate = to;
|
||||||
|
Loading…
Reference in New Issue
Block a user