From 06e678d6ef966d9c55d512b736622682bcfdf7a7 Mon Sep 17 00:00:00 2001 From: Ana Julia Bittencourt Date: Thu, 22 Sep 2022 16:42:52 -0300 Subject: [PATCH] Update ReentrancyGuard documentation (#3715) --- contracts/security/ReentrancyGuard.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/security/ReentrancyGuard.sol b/contracts/security/ReentrancyGuard.sol index a0098a2ae..3108ac9f4 100644 --- a/contracts/security/ReentrancyGuard.sol +++ b/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