Skip to content

Commit

Permalink
Create mortal.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdannen committed Nov 18, 2016
1 parent 786b3c1 commit 22e3e15
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mortal.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import "owned";

contract mortal is owned {
function kill() {
if (msg.sender == owner) suicide(owner);
}
}

0 comments on commit 22e3e15

Please sign in to comment.