From c7d57031b56f7c0513f2e790ad99b05abfe784ea Mon Sep 17 00:00:00 2001 From: Florian Sey Date: Fri, 6 May 2022 01:01:33 +0200 Subject: [PATCH] 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. --- docs/examples/voting.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/voting.rst b/docs/examples/voting.rst index a51c01b74..6e36f4e51 100644 --- a/docs/examples/voting.rst +++ b/docs/examples/voting.rst @@ -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;