Clarify warning.

This commit is contained in:
chriseth 2016-08-30 15:37:10 +02:00
parent eb241ff1b3
commit 9a91bd80ab

View File

@ -448,8 +448,9 @@ In particular, the following operations will consume more gas than the stipend p
Please ensure you test your fallback function thoroughly to ensure the execution cost is less than 2300 gas before deploying a contract. Please ensure you test your fallback function thoroughly to ensure the execution cost is less than 2300 gas before deploying a contract.
.. warning:: .. warning::
The default fallback function will throw an exception (this was different Contracts that receive Ether but do not define a fallback function
before Solidity v0.4.0), so if you want your contract to receive Ether, throw an exception, sending back the Ether (this was different
before Solidity v0.4.0). So if you want your contract to receive Ether,
you have to implement a fallback function. you have to implement a fallback function.
:: ::