aboutsummaryrefslogtreecommitdiffstats
path: root/docs/solidity-by-example.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/solidity-by-example.rst')
-rw-r--r--docs/solidity-by-example.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/solidity-by-example.rst b/docs/solidity-by-example.rst
index 61589b2e..8e23dafd 100644
--- a/docs/solidity-by-example.rst
+++ b/docs/solidity-by-example.rst
@@ -133,8 +133,7 @@ of votes.
// If the delegate already voted,
// directly add to the number of votes
proposals[delegate.vote].voteCount += sender.weight;
- }
- else {
+ } else {
// If the delegate did not vote yet,
// add to her weight.
delegate.weight += sender.weight;