diff options
author | chriseth <c@ethdev.com> | 2015-11-29 07:09:15 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-11-29 07:10:07 +0800 |
commit | b97bb086de91e1f834e6e92cfdc8a985a6f761de (patch) | |
tree | 8655252ecda0c90cfd3ab95cd18e6097d8aeff89 /test/contracts/Wallet.cpp | |
parent | c806b9bcdb26fe031da94b8cdb270cb3c75b8af9 (diff) | |
download | dexon-solidity-b97bb086de91e1f834e6e92cfdc8a985a6f761de.tar.gz dexon-solidity-b97bb086de91e1f834e6e92cfdc8a985a6f761de.tar.zst dexon-solidity-b97bb086de91e1f834e6e92cfdc8a985a6f761de.zip |
Introduce selfdestruct alias for suicide.
Diffstat (limited to 'test/contracts/Wallet.cpp')
-rw-r--r-- | test/contracts/Wallet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/contracts/Wallet.cpp b/test/contracts/Wallet.cpp index 4a4848f1..476e817b 100644 --- a/test/contracts/Wallet.cpp +++ b/test/contracts/Wallet.cpp @@ -361,9 +361,9 @@ contract Wallet is multisig, multiowned, daylimit { multiowned(_owners, _required) daylimit(_daylimit) { } - // kills the contract sending everything to `_to`. + // destroys the contract sending everything to `_to`. function kill(address _to) onlymanyowners(sha3(msg.data)) external { - suicide(_to); + selfdestruct(_to); } // gets called when no other function matches |