Skip to content

Commit 4299f6b

Browse files
committed
fix typo
1 parent 9b60aa0 commit 4299f6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RescueStrategy.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)