aboutsummaryrefslogtreecommitdiffstats
path: root/std/mortal.sol
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-15 21:36:05 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-09-14 22:58:04 +0800
commita02cf83d86489f5d9c9439c79e27fcecb5c5ddb4 (patch)
tree6b523be71cce64075a0f027ebe3c0764dceceb7b /std/mortal.sol
parent5b5367dc1237634886a8ccf1029d95b83a0d8e63 (diff)
downloaddexon-solidity-a02cf83d86489f5d9c9439c79e27fcecb5c5ddb4.tar.gz
dexon-solidity-a02cf83d86489f5d9c9439c79e27fcecb5c5ddb4.tar.zst
dexon-solidity-a02cf83d86489f5d9c9439c79e27fcecb5c5ddb4.zip
Update std to contain visibility specifiers
Diffstat (limited to 'std/mortal.sol')
-rw-r--r--std/mortal.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/mortal.sol b/std/mortal.sol
index f0a6f4ce..c43f1e4f 100644
--- a/std/mortal.sol
+++ b/std/mortal.sol
@@ -3,7 +3,7 @@ pragma solidity ^0.4.0;
import "./owned.sol";
contract mortal is owned {
- function kill() {
+ function kill() public {
if (msg.sender == owner)
selfdestruct(owner);
}