We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 991e074 commit 037502dCopy full SHA for 037502d
core/src/calleeFunctions/rETHCurveUniv3Callee.ts
@@ -24,7 +24,7 @@ const getCalleeData = async function (
24
if (!preloadedPools) {
25
throw new Error(`Can not encode route for the "${collateral.ilk}" without preloaded pools`);
26
}
27
- const route = await encodePools(network, preloadedPools);
+ const route = await encodePools(network, preloadedPools.slice(1));
28
const joinAdapterAddress = await getContractAddressByName(network, getJoinNameByCollateralType(collateral.ilk));
29
const minProfit = 1;
30
const typesArray = ['address', 'address', 'uint256', 'bytes', 'address'];
0 commit comments