We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
function "approve" shuoldn't be something like this?
`function approve(address _spender, uint _value) public returns (bool success) { if (_value > 0 && __balanceOf[msg.sender] >= _value) { __allowances[msg.sender][_spender] = _value; return true; } return false; }`
line 49, file MyToken.sol thanks! =)
The text was updated successfully, but these errors were encountered:
I don't think so. He put these constraints in the 'transferFrom' function. You'll see those, along with some others, on lines 36-39.
Sorry, something went wrong.
No branches or pull requests
function "approve" shuoldn't be something like this?
line 49, file MyToken.sol
thanks! =)
The text was updated successfully, but these errors were encountered: