Replace deprecated suicide with selfdestruct
@@ -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);