Skip to content

Commit 11266b0

Browse files
Leo Ariasnventuro
authored andcommitted
Fix ReentrancyGuard comments (#1084)
1 parent 45d6943 commit 11266b0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

contracts/ReentrancyGuard.sol

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pragma solidity ^0.4.24;
44
/**
55
* @title Helps contracts guard against reentrancy attacks.
66
* @author Remco Bloemen <remco@2π.com>
7-
* @notice If you mark a function `nonReentrant`, you should also
7+
* @dev If you mark a function `nonReentrant`, you should also
88
* mark it `external`.
99
*/
1010
contract ReentrancyGuard {
@@ -16,10 +16,10 @@ contract ReentrancyGuard {
1616

1717
/**
1818
* @dev Prevents a contract from calling itself, directly or indirectly.
19-
* @notice If you mark a function `nonReentrant`, you should also
20-
* mark it `external`. Calling one nonReentrant function from
19+
* If you mark a function `nonReentrant`, you should also
20+
* mark it `external`. Calling one `nonReentrant` function from
2121
* another is not supported. Instead, you can implement a
22-
* `private` function doing the actual work, and a `external`
22+
* `private` function doing the actual work, and an `external`
2323
* wrapper marked as `nonReentrant`.
2424
*/
2525
modifier nonReentrant() {

0 commit comments

Comments
 (0)