Merge pull request #8114 from ethereum/fixModComment

Fix comment.
This commit is contained in:
chriseth 2020-01-08 21:53:41 +01:00 committed by GitHub
commit 24bf11a2bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,8 +41,8 @@ if they are marked ``virtual``. For details, please see
contract destructible is owned {
// This contract inherits the `onlyOwner` modifier from
// `owned` and applies it to the `close` function, which
// causes that calls to `close` only have an effect if
// `owned` and applies it to the `destroy` function, which
// causes that calls to `destroy` only have an effect if
// they are made by the stored owner.
function destroy() public onlyOwner {
selfdestruct(owner);