Update ReentrancyGuardTransient documentation (#5417)

pull/5420/head
Ernesto García 1 month ago committed by GitHub
parent bf69b60146
commit 45dd083602
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      contracts/utils/ReentrancyGuardTransient.sol

@ -38,7 +38,7 @@ abstract contract ReentrancyGuardTransient {
} }
function _nonReentrantBefore() private { 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()) { if (_reentrancyGuardEntered()) {
revert ReentrancyGuardReentrantCall(); revert ReentrancyGuardReentrantCall();
} }

Loading…
Cancel
Save