Skip to content

Commit

Permalink
Fixed Stargate reapReward swap route
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Graczer committed Sep 21, 2022
1 parent c09913e commit 292131f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/strategies/stargate/Stargate.sol
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ contract Stargate is UUPSUpgradeable, StrategyOwnablePausableBaseUpgradeable {

strategyStorage.lpStaking.deposit(strategyStorage.farmId, 0);

address[] memory path = new address[](3);
address[] memory path = new address[](2);
path[0] = address(strategyStorage.stgToken);
path[2] = address(depositToken);
path[1] = address(depositToken);

swapExactTokensForTokens(
swapService,
Expand Down

0 comments on commit 292131f

Please sign in to comment.