Skip to content

Commit

Permalink
fix: Ensure rETH participation (#614)
Browse files Browse the repository at this point in the history
  • Loading branch information
valiafetisov authored Sep 27, 2023
1 parent 991e074 commit 037502d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/calleeFunctions/rETHCurveUniv3Callee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const getCalleeData = async function (
if (!preloadedPools) {
throw new Error(`Can not encode route for the "${collateral.ilk}" without preloaded pools`);
}
const route = await encodePools(network, preloadedPools);
const route = await encodePools(network, preloadedPools.slice(1));
const joinAdapterAddress = await getContractAddressByName(network, getJoinNameByCollateralType(collateral.ilk));
const minProfit = 1;
const typesArray = ['address', 'address', 'uint256', 'bytes', 'address'];
Expand Down

0 comments on commit 037502d

Please sign in to comment.