Skip to content

Commit b42aa30

Browse files
authored
Update Diamond.sol
1 parent 50bc6b5 commit b42aa30

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Diamond.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import {FunctionDoesNotExist} from "@diamond-errors/DiamondErrors.sol";
3232
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⠷⣜⣧⠀⣠⠟⣁⣴⠞⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
3333
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⢿⣾⠿⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
3434
*/
35+
3536
/// @notice Implements EIP-2535 Diamond proxy pattern, allowing dynamic addition, replacement, and removal of facets
3637
/// @author David Dada
3738
/// @author Modified from Nick Mudge (https://github.com/mudgen/diamond-3-hardhat/blob/main/contracts/Diamond.sol)
@@ -68,7 +69,7 @@ contract Diamond {
6869
// Copy returned data
6970
returndatacopy(0, 0, returndatasize())
7071

71-
// Revert or return based on result
72+
// Revert or return based on the result
7273
switch result
7374
case 0 { revert(0, returndatasize()) }
7475
default { return(0, returndatasize()) }

0 commit comments

Comments
 (0)