diff --git a/src/utils/ReentrancyGuard.sol b/src/utils/ReentrancyGuard.sol index 37c22f3e25..4b8b0dfa32 100644 --- a/src/utils/ReentrancyGuard.sol +++ b/src/utils/ReentrancyGuard.sol @@ -8,7 +8,7 @@ abstract contract ReentrancyGuard { /* CUSTOM ERRORS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ - /// @dev An attempt was made to call a non-reentrant function from within a reentrant call. + /// @dev Unauthorized reentrant call. error Reentrancy(); /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ @@ -41,7 +41,7 @@ abstract contract ReentrancyGuard { } } - /// @dev Guards a function from non-read reentrancy. + /// @dev Guards a view function from read-only reentrancy. modifier nonReadReentrant() virtual { /// @solidity memory-safe-assembly assembly {