Lecture 3 : Not able to transfer funds, something with address payable #1221
Answered
by
Noveleader
Noveleader
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
Noveleader
Mar 9, 2022
Replies: 2 comments 14 replies
-
|
Hello @Noveleader |
Beta Was this translation helpful? Give feedback.
12 replies
-
|
Actually, in the newer versions of solidity to send some money to the address, we need to make the address payable |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Noveleader
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Actually, in the newer versions of solidity to send some money to the address, we need to make the address payable
Hence the correct code is following here:
payable(msg.sender).transfer(address(this).balance);