You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please leave a link to the timestamp in the video where this error occurs? (You can right click a video and "copy video URL at current time")
it should be (bool callSuccess, ) = payable(msg.sender).call{value: address(this).balance(""); instead of {bool callSuccess, } = payable(msg.sender).call{value: address(this).balance}("");
Lesson
Lesson 4
Could you please leave a link to the timestamp in the video where this error occurs? (You can right click a video and "copy video URL at current time")
https://youtu.be/gyMwXuJrbJQ?t=17343
Operating System
Windows
Describe the bug
ParserError: Expected ';' but got ','
--> contracts/FundMe.sol:55:26:
|
55 | {bool callSuccess, } = payable(msg.sender).call{value: address(this).balance}("");
| ^
I keep encountering this error every time in my contract. Please anyone with a solution.
The text was updated successfully, but these errors were encountered: