aboutsummaryrefslogtreecommitdiffstats
path: root/docs/miscellaneous.rst
diff options
context:
space:
mode:
authorwbt <wbt@users.noreply.github.com>2018-03-12 22:02:24 +0800
committerchriseth <chris@ethereum.org>2018-03-12 22:02:24 +0800
commit7d206ba64ad4590b42aa9ea8d89145aff39c70e0 (patch)
tree5d7ea8ed3e0de5c94ffa49208b2b3f492e840d85 /docs/miscellaneous.rst
parentc6e9dd13bc34cd422c47ee7f8dd3832d9f00fdbe (diff)
downloaddexon-solidity-7d206ba64ad4590b42aa9ea8d89145aff39c70e0.tar.gz
dexon-solidity-7d206ba64ad4590b42aa9ea8d89145aff39c70e0.tar.zst
dexon-solidity-7d206ba64ad4590b42aa9ea8d89145aff39c70e0.zip
Noted `suicide` is deprecated (#3692)
According to the [changelog](https://github.com/ethereum/solidity/blob/b5e804b8caba0cc84514898323df91a025705177/Changelog.md), `suicide` was deprecated before 0.4.3 (after 0.2.0) and warning by 0.4.17.
Diffstat (limited to 'docs/miscellaneous.rst')
-rw-r--r--docs/miscellaneous.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst
index 075b6be0..a7d5c445 100644
--- a/docs/miscellaneous.rst
+++ b/docs/miscellaneous.rst
@@ -341,7 +341,7 @@ Global Variables
- ``this`` (current contract's type): the current contract, explicitly convertible to ``address``
- ``super``: the contract one level higher in the inheritance hierarchy
- ``selfdestruct(address recipient)``: destroy the current contract, sending its funds to the given address
-- ``suicide(address recipient)``: an alias to ``selfdestruct``
+- ``suicide(address recipient)``: a deprecated alias to ``selfdestruct``
- ``<address>.balance`` (``uint256``): balance of the :ref:`address` in Wei
- ``<address>.send(uint256 amount) returns (bool)``: send given amount of Wei to :ref:`address`, returns ``false`` on failure
- ``<address>.transfer(uint256 amount)``: send given amount of Wei to :ref:`address`, throws on failure