Explorar o código

Update ReentrancyGuard documentation (#3715)

Ana Julia Bittencourt %!s(int64=3) %!d(string=hai) anos
pai
achega
06e678d6ef
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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