aboutsummaryrefslogtreecommitdiffstats
path: root/test/contracts/Wallet.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-11-29 07:09:15 +0800
committerchriseth <c@ethdev.com>2015-11-29 07:10:07 +0800
commitb97bb086de91e1f834e6e92cfdc8a985a6f761de (patch)
tree8655252ecda0c90cfd3ab95cd18e6097d8aeff89 /test/contracts/Wallet.cpp
parentc806b9bcdb26fe031da94b8cdb270cb3c75b8af9 (diff)
downloaddexon-solidity-b97bb086de91e1f834e6e92cfdc8a985a6f761de.tar
dexon-solidity-b97bb086de91e1f834e6e92cfdc8a985a6f761de.tar.gz
dexon-solidity-b97bb086de91e1f834e6e92cfdc8a985a6f761de.tar.bz2
dexon-solidity-b97bb086de91e1f834e6e92cfdc8a985a6f761de.tar.lz
dexon-solidity-b97bb086de91e1f834e6e92cfdc8a985a6f761de.tar.xz
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.cpp4
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