Update ReentrancyGuard documentation (#3715)

(cherry picked from commit 06e678d6ef)
This commit is contained in:
Ana Julia Bittencourt
2022-09-22 16:42:52 -03:00
committed by Francisco Giordano
parent 09369d265c
commit 8740d8f7f3

View File

@ -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