Rename events to past-tense (#1181)

This commit is contained in:
Leo Arias
2018-08-28 20:14:06 -06:00
committed by GitHub
parent 132994d286
commit 1c0532455a
12 changed files with 39 additions and 26 deletions

View File

@ -9,7 +9,7 @@ import "./StandardToken.sol";
*/
contract BurnableToken is StandardToken {
event Burn(address indexed burner, uint256 value);
event TokensBurned(address indexed burner, uint256 value);
/**
* @dev Burns a specific amount of tokens.
@ -34,6 +34,6 @@ contract BurnableToken is StandardToken {
*/
function _burn(address _who, uint256 _value) internal {
super._burn(_who, _value);
emit Burn(_who, _value);
emit TokensBurned(_who, _value);
}
}