Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
openzeppelin-contracts-upgradeable
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
openzeppelin-contracts-upgradeable
Commits
11266b0d
Commit
11266b0d
authored
Jul 19, 2018
by
Leo Arias
Committed by
Nicolás Venturo
Jul 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ReentrancyGuard comments (#1084)
parent
45d69439
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ReentrancyGuard.sol
contracts/ReentrancyGuard.sol
+4
-4
No files found.
contracts/ReentrancyGuard.sol
View file @
11266b0d
...
@@ -4,7 +4,7 @@ pragma solidity ^0.4.24;
...
@@ -4,7 +4,7 @@ pragma solidity ^0.4.24;
/**
/**
* @title Helps contracts guard against reentrancy attacks.
* @title Helps contracts guard against reentrancy attacks.
* @author Remco Bloemen <remco@2π.com>
* @author Remco Bloemen <remco@2π.com>
* @
notice
If you mark a function `nonReentrant`, you should also
* @
dev
If you mark a function `nonReentrant`, you should also
* mark it `external`.
* mark it `external`.
*/
*/
contract ReentrancyGuard {
contract ReentrancyGuard {
...
@@ -16,10 +16,10 @@ contract ReentrancyGuard {
...
@@ -16,10 +16,10 @@ contract ReentrancyGuard {
/**
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* @dev Prevents a contract from calling itself, directly or indirectly.
*
@notice
If you mark a function `nonReentrant`, you should also
* If you mark a function `nonReentrant`, you should also
* mark it `external`. Calling one
nonReentrant
function from
* mark it `external`. Calling one
`nonReentrant`
function from
* another is not supported. Instead, you can implement a
* another is not supported. Instead, you can implement a
* `private` function doing the actual work, and a `external`
* `private` function doing the actual work, and a
n
`external`
* wrapper marked as `nonReentrant`.
* wrapper marked as `nonReentrant`.
*/
*/
modifier nonReentrant() {
modifier nonReentrant() {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment