From 8740d8f7f3bd81634d64cc952cda7cc25d223fc8 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) (cherry picked from commit 06e678d6ef966d9c55d512b736622682bcfdf7a7) --- 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 849d20cfe..f2cd6321c 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