Commit 0c0eb292 by Manuel Aráoz Committed by GitHub

Merge pull request #58 from federicobond/selfdestruct

Replace deprecated suicide with selfdestruct
parents 75485ca3 defcf566
......@@ -7,6 +7,6 @@ import "./Ownable.sol";
*/
contract Killable is Ownable {
function kill() {
if (msg.sender == owner) suicide(owner);
if (msg.sender == owner) selfdestruct(owner);
}
}
......@@ -18,7 +18,7 @@ contract StoppableBid is Stoppable, PullPayment {
}
function withdraw() onlyInEmergency {
suicide(owner);
selfdestruct(owner);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment