aboutsummaryrefslogtreecommitdiffstats
path: root/docs/solidity-by-example.rst
diff options
context:
space:
mode:
authorDenton Liu <liu.denton+github@gmail.com>2016-08-25 03:28:07 +0800
committerDenton Liu <liu.denton+github@gmail.com>2016-08-27 01:33:42 +0800
commit532266b89e07d37115d160d3d1148b50e4fb1dfc (patch)
tree1f0be9568ebd277e07275b4baf0b1c214cb644a9 /docs/solidity-by-example.rst
parentf1e6bc2eaa452412e8050f72ff14ad738dbe49bc (diff)
downloaddexon-solidity-532266b89e07d37115d160d3d1148b50e4fb1dfc.tar
dexon-solidity-532266b89e07d37115d160d3d1148b50e4fb1dfc.tar.gz
dexon-solidity-532266b89e07d37115d160d3d1148b50e4fb1dfc.tar.bz2
dexon-solidity-532266b89e07d37115d160d3d1148b50e4fb1dfc.tar.lz
dexon-solidity-532266b89e07d37115d160d3d1148b50e4fb1dfc.tar.xz
dexon-solidity-532266b89e07d37115d160d3d1148b50e4fb1dfc.tar.zst
dexon-solidity-532266b89e07d37115d160d3d1148b50e4fb1dfc.zip
Use new style for the docs
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;