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
In "Keep fallback functions simple" section,
function deposit() external { balances[msg.sender] += msg.value; }
Does't this function need "payable" modifier to work properly?
The text was updated successfully, but these errors were encountered:
That is correct. Thanks @readytopark.
Sorry, something went wrong.
7673a86
Thanks you @readytopark! Feel free to submit a pull request if you see payable missing in other areas, or if you have other improvements :)
No branches or pull requests
In "Keep fallback functions simple" section,
function deposit() external { balances[msg.sender] += msg.value; }
Does't this function need "payable" modifier to work properly?
The text was updated successfully, but these errors were encountered: