Noted suicide is deprecated (#3692)

According to the [changelog](b5e804b8ca/Changelog.md), `suicide` was deprecated before 0.4.3 (after 0.2.0) and warning by 0.4.17.
This commit is contained in:
wbt 2018-03-12 10:02:24 -04:00 committed by chriseth
parent c6e9dd13bc
commit 7d206ba64a
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -183,7 +183,7 @@ Contract Related
destroy the current contract, sending its funds to the given :ref:`address`
``suicide(address recipient)``:
alias to ``selfdestruct``
deprecated alias to ``selfdestruct``
Furthermore, all functions of the current contract are callable directly including the current function.