diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-10-30 20:08:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-30 20:08:51 +0800 |
commit | dc154b4e5661945ca9c98720e097e84729a528be (patch) | |
tree | 12259b52d2cad4c123d7d859efe8ca4f470bec33 | |
parent | eb140bc6d65c51ddabb02b32a412a215ca37aff9 (diff) | |
parent | d4db1624b54adfac3513754df8db9278e4866d83 (diff) | |
download | dexon-solidity-dc154b4e5661945ca9c98720e097e84729a528be.tar.gz dexon-solidity-dc154b4e5661945ca9c98720e097e84729a528be.tar.zst dexon-solidity-dc154b4e5661945ca9c98720e097e84729a528be.zip |
Merge pull request #3155 from chuacw/patch-1
Changed limitation to feature
-rw-r--r-- | docs/types.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/types.rst b/docs/types.rst index 774c1d04..0be8255e 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -129,7 +129,7 @@ and to send Ether (in units of wei) to an address using the ``transfer`` functio if (x.balance < 10 && myAddress.balance >= 10) x.transfer(10); .. note:: - If ``x`` is a contract address, its code (more specifically: its fallback function, if present) will be executed together with the ``transfer`` call (this is a limitation of the EVM and cannot be prevented). If that execution runs out of gas or fails in any way, the Ether transfer will be reverted and the current contract will stop with an exception. + If ``x`` is a contract address, its code (more specifically: its fallback function, if present) will be executed together with the ``transfer`` call (this is a feature of the EVM and cannot be prevented). If that execution runs out of gas or fails in any way, the Ether transfer will be reverted and the current contract will stop with an exception. * ``send`` |