Skip to content

Commit

Permalink
Hexens - Audit: Issue 2-1: Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
riordant committed Jan 30, 2024
1 parent 73c85a8 commit 3e94872
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/strategies/convex/ConvexStFrxEthStrategy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ contract ConvexStFrxEthStrategy is StrategyManualYieldVerifier, Strategy, Curve2
uint256 assetGroupId_,
ISwapper swapper_
) Strategy(assetGroupRegistry_, accessControl_, assetGroupId_) WethHelper(_weth) {
if (address(swapper_) == address(0)) {
revert ConfigurationAddressZero();
}
_swapper = swapper_;
}

Expand Down

0 comments on commit 3e94872

Please sign in to comment.