Skip to content

Commit

Permalink
Merge pull request #358 from yieldprotocol/fix/c4-2022-01-102
Browse files Browse the repository at this point in the history
Optimized `nonReentrant` on ConvexYieldWrapper
  • Loading branch information
iamsahu authored Feb 8, 2022
2 parents ffc9fb5 + 01f92bd commit 82c09e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/utils/convex/ConvexStakingWrapper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ contract ConvexStakingWrapper is ERC20, AccessControl {

//management
bool public isShutdown;
bool private _status;
uint8 private _status = 1;

bool private constant _NOT_ENTERED = false;
bool private constant _ENTERED = true;
uint8 private constant _NOT_ENTERED = 1;
uint8 private constant _ENTERED = 2;

event Deposited(address indexed _user, address indexed _account, uint256 _amount, bool _wrapped);
event Withdrawn(address indexed _user, uint256 _amount, bool _unwrapped);
Expand Down

0 comments on commit 82c09e4

Please sign in to comment.