File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff 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);
Original file line number Diff line number Diff 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+ // }
You can’t perform that action at this time.
0 commit comments