Update ReentrancyGuard documentation (#3715)

pull/3725/head
Ana Julia Bittencourt 2 years ago committed by GitHub
parent 8769b19860
commit 06e678d6ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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

Loading…
Cancel
Save