diff --git a/contracts/token/ERC223.sol b/contracts/token/ERC223.sol index 79f7982..7c62c48 100644 --- a/contracts/token/ERC223.sol +++ b/contracts/token/ERC223.sol @@ -5,5 +5,5 @@ import "./ERC20.sol"; contract ERC223 is ERC20 { function transfer(address to, uint value, bytes data) returns (bool success); - event Transfer(address indexed from, address indexed to, uint value, bytes indexed data); + event Transfer(address indexed from, address indexed to, uint value, bytes data); } diff --git a/contracts/token/Standard223Token.sol b/contracts/token/Standard223Token.sol index 59c7af3..677b05a 100644 --- a/contracts/token/Standard223Token.sol +++ b/contracts/token/Standard223Token.sol @@ -12,8 +12,10 @@ contract Standard223Token is ERC223, StandardToken { public returns (bool success) { super.transfer(_to, _value); - if (isContract(_to)) + if (isContract(_to)) { + Transfer(msg.sender, _to, _value, _data); contractFallback(_to, _value, _data); + } return true; }