Commit defcf566 by Federico Bond

Replace deprecated suicide with selfdestruct

parent 75485ca3
...@@ -7,6 +7,6 @@ import "./Ownable.sol"; ...@@ -7,6 +7,6 @@ import "./Ownable.sol";
*/ */
contract Killable is Ownable { contract Killable is Ownable {
function kill() { function kill() {
if (msg.sender == owner) suicide(owner); if (msg.sender == owner) selfdestruct(owner);
} }
} }
...@@ -18,7 +18,7 @@ contract StoppableBid is Stoppable, PullPayment { ...@@ -18,7 +18,7 @@ contract StoppableBid is Stoppable, PullPayment {
} }
function withdraw() onlyInEmergency { 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