diff --git a/solidity/token-advanced.sol b/solidity/token-advanced.sol index 080f322..036bb75 100644 --- a/solidity/token-advanced.sol +++ b/solidity/token-advanced.sol @@ -82,8 +82,9 @@ contract TokenERC20 { * @param _to The address of the recipient * @param _value the amount to send */ - function transfer(address _to, uint256 _value) public { + function transfer(address _to, uint256 _value) public returns (bool success) { _transfer(msg.sender, _to, _value); + return true; } /**