mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Make std contracts use new style
This commit is contained in:
parent
532266b89e
commit
d2144b03c7
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user