Skip to content

Commit c6af7fe

Browse files
committed
Fixed ExampleDiamond
1 parent 2bcca59 commit c6af7fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diamond/DiamondMod.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ error NoFacetsToAdd();
8181
/**
8282
* @notice Adds facets and their function selectors to the diamond.
8383
*/
84-
function addFacets(address[] calldata _facets) {
84+
function addFacets(address[] memory _facets) {
8585
DiamondStorage storage s = getStorage();
8686
uint256 facetsLength = _facets.length;
8787
if (facetsLength == 0) {

0 commit comments

Comments
 (0)