Skip to content

Commit 037502d

Browse files
authored
fix: Ensure rETH participation (#614)
1 parent 991e074 commit 037502d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/calleeFunctions/rETHCurveUniv3Callee.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const getCalleeData = async function (
2424
if (!preloadedPools) {
2525
throw new Error(`Can not encode route for the "${collateral.ilk}" without preloaded pools`);
2626
}
27-
const route = await encodePools(network, preloadedPools);
27+
const route = await encodePools(network, preloadedPools.slice(1));
2828
const joinAdapterAddress = await getContractAddressByName(network, getJoinNameByCollateralType(collateral.ilk));
2929
const minProfit = 1;
3030
const typesArray = ['address', 'address', 'uint256', 'bytes', 'address'];

0 commit comments

Comments
 (0)