Browse Source

Update ReentrancyGuard documentation (#3715)

Ana Julia Bittencourt 3 years ago
parent
commit
06e678d6ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contracts/security/ReentrancyGuard.sol

+ 1 - 1
contracts/security/ReentrancyGuard.sol

@@ -54,7 +54,7 @@ abstract contract ReentrancyGuard {
     }
 
     function _nonReentrantBefore() private {
-        // On the first call to nonReentrant, _notEntered will be true
+        // On the first call to nonReentrant, _status will be _NOT_ENTERED
         require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
 
         // Any calls to nonReentrant after this point will fail