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;
|
balanceOf[_to] += _value;
|
||||||
Transfer(msg.sender, _to, _value);
|
Transfer(msg.sender, _to, _value);
|
||||||
return true;
|
return true;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -29,8 +28,7 @@ contract StandardToken is Token {
|
|||||||
balanceOf[_to] += _value;
|
balanceOf[_to] += _value;
|
||||||
Transfer(_from, _to, _value);
|
Transfer(_from, _to, _value);
|
||||||
return true;
|
return true;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user