aboutsummaryrefslogtreecommitdiffstats
path: root/std/StandardToken.sol
diff options
context:
space:
mode:
authorDenton Liu <liu.denton+github@gmail.com>2016-08-25 03:20:59 +0800
committerDenton Liu <liu.denton+github@gmail.com>2016-08-27 01:33:42 +0800
commitd2144b03c7ef6f7189ba289f5df1a445c68f3b68 (patch)
tree24e4ce347103aa89e78cb08feb960f02c0575c02 /std/StandardToken.sol
parent532266b89e07d37115d160d3d1148b50e4fb1dfc (diff)
downloaddexon-solidity-d2144b03c7ef6f7189ba289f5df1a445c68f3b68.tar.gz
dexon-solidity-d2144b03c7ef6f7189ba289f5df1a445c68f3b68.tar.zst
dexon-solidity-d2144b03c7ef6f7189ba289f5df1a445c68f3b68.zip
Make std contracts use new style
Diffstat (limited to 'std/StandardToken.sol')
-rw-r--r--std/StandardToken.sol6
1 files changed, 2 insertions, 4 deletions
diff --git a/std/StandardToken.sol b/std/StandardToken.sol
index db453492..41f2d709 100644
--- a/std/StandardToken.sol
+++ b/std/StandardToken.sol
@@ -17,8 +17,7 @@ contract StandardToken is Token {
balanceOf[_to] += _value;
Transfer(msg.sender, _to, _value);
return true;
- }
- else {
+ } else {
return false;
}
}
@@ -29,8 +28,7 @@ contract StandardToken is Token {
balanceOf[_to] += _value;
Transfer(_from, _to, _value);
return true;
- }
- else {
+ } else {
return false;
}
}