Update ReentrancyGuard documentation (#3715)

This commit is contained in:
Ana Julia Bittencourt
2022-09-22 16:42:52 -03:00
committed by GitHub
parent 8769b19860
commit 06e678d6ef

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