diff options
-rw-r--r-- | docs/solidity-by-example.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/solidity-by-example.rst b/docs/solidity-by-example.rst index dde4495b..88eaadd5 100644 --- a/docs/solidity-by-example.rst +++ b/docs/solidity-by-example.rst @@ -126,7 +126,7 @@ of votes. // modifies `voters[msg.sender].voted` sender.voted = true; sender.delegate = to; - Voter delegate = voters[to]; + Voter storage delegate = voters[to]; if (delegate.voted) { // If the delegate already voted, // directly add to the number of votes |