Commit 1737555b by Francisco Giordano Committed by GitHub

Merge pull request #439 from frangio/fix-436

Remove indexed declaration of value in Burn event
parents eda63c75 f96ebfca
......@@ -8,13 +8,13 @@ import './StandardToken.sol';
*/
contract BurnableToken is StandardToken {
event Burn(address indexed burner, uint256 value);
/**
* @dev Burns a specific amount of tokens.
* @param _value The amount of token to be burned.
*/
function burn(uint _value)
public
{
function burn(uint256 _value) public {
require(_value > 0);
address burner = msg.sender;
......@@ -22,6 +22,4 @@ contract BurnableToken is StandardToken {
totalSupply = totalSupply.sub(_value);
Burn(burner, _value);
}
event Burn(address indexed burner, uint indexed value);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment