|
|
@ -43,7 +43,7 @@ abstract contract ReentrancyGuard { |
|
|
|
* @dev Prevents a contract from calling itself, directly or indirectly. |
|
|
|
* @dev Prevents a contract from calling itself, directly or indirectly. |
|
|
|
* Calling a `nonReentrant` function from another `nonReentrant` |
|
|
|
* Calling a `nonReentrant` function from another `nonReentrant` |
|
|
|
* function is not supported. It is possible to prevent this from happening |
|
|
|
* function is not supported. It is possible to prevent this from happening |
|
|
|
* by making the `nonReentrant` function external, and make it call a |
|
|
|
* by making the `nonReentrant` function external, and making it call a |
|
|
|
* `private` function that does the actual work. |
|
|
|
* `private` function that does the actual work. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
modifier nonReentrant() { |
|
|
|
modifier nonReentrant() { |
|
|
|