mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
4c20821e6d
At this point of the documentation a new Solidity learner will not understand this line without further explanation: if (!payable(msg.sender).send(amount)) { It should explain how msg.sender is of type "address" and not "address payable" so it cannot send or receive Ether. Therefore it must be explicitly converted to payable. |
||
---|---|---|
.. | ||
blind-auction.rst | ||
micropayment.rst | ||
modular.rst | ||
safe-remote.rst | ||
voting.rst |