Skip to content
New issue

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

第19题的,vitalik想部署一个能接收ETH和msg.data的合约,那么他部署的合约中必须含有fallback函数 #556

Open
w402116500 opened this issue Oct 29, 2023 · 1 comment

Comments

@w402116500
Copy link

image
这题我一直感觉有问题,不是单一个receive函数就可以了吗?为什么非要有fallback函数

@AmazingAng
Copy link
Owner

receive函数不能接受msg.data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants