diff options
author | Denton Liu <liu.denton+github@gmail.com> | 2016-08-25 03:20:59 +0800 |
---|---|---|
committer | Denton Liu <liu.denton+github@gmail.com> | 2016-08-27 01:33:42 +0800 |
commit | d2144b03c7ef6f7189ba289f5df1a445c68f3b68 (patch) | |
tree | 24e4ce347103aa89e78cb08feb960f02c0575c02 /std/StandardToken.sol | |
parent | 532266b89e07d37115d160d3d1148b50e4fb1dfc (diff) | |
download | dexon-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.sol | 6 |
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; } } |