Closed tanliwei closed 3 years ago
The fallback function should be "fallback() external payable" instead of "receive() external payable" in solidity 0.7.6.
Thanks. Both "receive" and "fallback" works in this case. I will put a comment on it.
The fallback function should be "fallback() external payable" instead of "receive() external payable" in solidity 0.7.6.