Update ReentrancyGuardTransient documentation (#5417)

This commit is contained in:
Ernesto García
2025-01-06 17:53:34 -06:00
committed by GitHub
parent bf69b60146
commit 45dd083602

View File

@ -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();
} }