From e99a66bebae4e3421b6b204a4116ddf184296ab7 Mon Sep 17 00:00:00 2001 From: senpagax Date: Sun, 6 Sep 2020 12:47:37 -0700 Subject: [PATCH] fixed typo inCaseStrategyGetStruck, only occurrence in all repos --- contracts/StrategyControllerV2.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/StrategyControllerV2.sol b/contracts/StrategyControllerV2.sol index 9b6525e..917cd53 100644 --- a/contracts/StrategyControllerV2.sol +++ b/contracts/StrategyControllerV2.sol @@ -97,7 +97,7 @@ contract StrategyControllerV2 { IERC20(_token).safeTransfer(governance, _amount); } - function inCaseStrategyGetStruck(address _strategy, address _token) external { + function inCaseStrategyGetStuck(address _strategy, address _token) external { require(msg.sender == governance, "!governance"); Strategy(_strategy).withdraw(_token); IERC20(_token).safeTransfer(governance, IERC20(_token).balanceOf(address(this)));