mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update std to contain visibility specifiers
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user