mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix comment.
This commit is contained in:
parent
589feb9bb9
commit
b68ea243fc
@ -41,8 +41,8 @@ if they are marked ``virtual``. For details, please see
|
|||||||
|
|
||||||
contract destructible is owned {
|
contract destructible is owned {
|
||||||
// This contract inherits the `onlyOwner` modifier from
|
// This contract inherits the `onlyOwner` modifier from
|
||||||
// `owned` and applies it to the `close` function, which
|
// `owned` and applies it to the `destroy` function, which
|
||||||
// causes that calls to `close` only have an effect if
|
// causes that calls to `destroy` only have an effect if
|
||||||
// they are made by the stored owner.
|
// they are made by the stored owner.
|
||||||
function destroy() public onlyOwner {
|
function destroy() public onlyOwner {
|
||||||
selfdestruct(owner);
|
selfdestruct(owner);
|
||||||
|
Loading…
Reference in New Issue
Block a user