浏览代码

Update ReentrancyGuard documentation (#3715)

Ana Julia Bittencourt 3 年之前
父节点
当前提交
06e678d6ef
共有 1 个文件被更改,包括 1 次插入1 次删除
  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