Update ReentrancyGuardTransient documentation (#5417)
This commit is contained in:
@ -38,7 +38,7 @@ abstract contract ReentrancyGuardTransient {
|
||||
}
|
||||
|
||||
function _nonReentrantBefore() private {
|
||||
// On the first call to nonReentrant, _status will be NOT_ENTERED
|
||||
// On the first call to nonReentrant, REENTRANCY_GUARD_STORAGE.asBoolean().tload() will be false
|
||||
if (_reentrancyGuardEntered()) {
|
||||
revert ReentrancyGuardReentrantCall();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user