From 6b1f62e5dd31e71f19fef411c317cbc408d73ae5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernesto=20Garc=C3=ADa?= Date: Mon, 6 Jan 2025 17:37:59 -0600 Subject: [PATCH] Update ReentrancyGuardTransient documentation --- contracts/utils/ReentrancyGuardTransient.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/utils/ReentrancyGuardTransient.sol b/contracts/utils/ReentrancyGuardTransient.sol index 1a62e29dafa..08cdbee538b 100644 --- a/contracts/utils/ReentrancyGuardTransient.sol +++ b/contracts/utils/ReentrancyGuardTransient.sol @@ -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(); }