Fix comment.

This commit is contained in:
chriseth 2020-01-08 18:37:46 +01:00
parent 589feb9bb9
commit b68ea243fc

View File

@ -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);