go-ethereum/contracts/chequebook/contract/mortal.sol

11 lines
178 B
Solidity

pragma solidity ^0.4.0;
import "./owned.sol";
contract mortal is owned {
function kill() public {
if (msg.sender == owner)
selfdestruct(owner);
}
}