Update docs
This commit is contained in:
@ -66,4 +66,12 @@ abstract contract ReentrancyGuard {
|
||||
// https://eips.ethereum.org/EIPS/eip-2200)
|
||||
_status = _NOT_ENTERED;
|
||||
}
|
||||
|
||||
/**
|
||||
* @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
|
||||
* `nonReentrant` function in the call stack.
|
||||
*/
|
||||
function _reentrancyGuardEntered() internal view returns (bool) {
|
||||
return _status == _ENTERED;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user