Skip to content

Commit a7eb143

Browse files
committed
Fixed formatting
1 parent 5446245 commit a7eb143

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/access/owner/OwnerFacet.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ contract OwnerFacet {
3939
OwnerStorage storage s = getStorage();
4040
if (msg.sender != s.owner) {
4141
revert OwnerUnauthorizedAccount();
42-
}
42+
}
4343
address previousOwner = s.owner;
4444
s.owner = _newOwner;
4545
emit OwnershipTransferred(previousOwner, _newOwner);

src/diamond/DiamondCutFacet.sol

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ pragma solidity >=0.8.30;
99
// contract DiamondCutFacet {
1010

1111
// bytes32 constant ERC173_STORAGE_POSITION = keccak256("compose.erc173");
12-
12+
1313
// /// @custom:storage-location erc8042:compose.erc173
1414
// struct ERC173Storage {
1515
// address owner;
16-
// }
16+
// }
1717

1818
// /// @notice Returns a pointer to the ERC-173 storage struct.
1919
// /// @dev Uses inline assembly to access the storage slot defined by STORAGE_POSITION.
@@ -25,9 +25,6 @@ pragma solidity >=0.8.30;
2525
// }
2626
// }
2727

28-
29-
30-
3128
// /// @notice Add/replace/remove any number of functions and optionally execute
3229
// /// a function with delegatecall
3330
// /// @param _diamondCut Contains the facet addresses and function selectors
@@ -42,4 +39,4 @@ pragma solidity >=0.8.30;
4239
// LibDiamond.enforceIsContractOwner();
4340
// LibDiamond.diamondCut(_diamondCut, _init, _calldata);
4441
// }
45-
// }
42+
// }

0 commit comments

Comments
 (0)