File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ contract RescueStrategy is IERC4626 {
8585 // will revert user withdrawals
8686 function maxWithdraw (address ) external view returns (uint256 ) {
8787 if (! rescueActive && msg .sender == earnVault) {
88- // if reentrancy locked - earn is calling from `withdraw`, which shold be prevented
88+ // if reentrancy locked - earn is calling from `withdraw`, which should be prevented
8989 // if unlocked - let it through because `maxWithdrawFromStrategy` is called, which is relied upon by the Lens contract
9090 (bool success , bytes memory reason ) = earnVault.staticcall (abi.encodeWithSignature ("setFee(uint256) " , 0 ));
9191 require (! success, "expected revert " ); // if reentrancy was unlocked, attempt to set it will panic
You can’t perform that action at this time.
0 commit comments