Skip to content

Commit df25ab2

Browse files
authored
Merge pull request #497 from curvefi/fix/remove-aave-pool-from-router
fix: remove aave pool from router
2 parents db874a3 + 69dd68c commit df25ab2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@curvefi/api",
3-
"version": "2.68.10",
3+
"version": "2.68.11",
44
"description": "JavaScript library for curve.finance",
55
"main": "lib/index.js",
66
"author": "Macket",

src/router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function mapDict<T, U>(dict: IDict<T>, mapper: (key: string, value: T) => U): ID
5151

5252
async function _buildRouteGraphImpl(this: Curve, chainId: IChainId, isLiteChain: boolean): Promise<IDict<IDict<IRouteStep[]>>> {
5353
const constants = this.constants;
54-
const allPools = Object.entries(this.getPoolsData()).filter(([id]) => !["crveth", "y", "busd", "pax", "susd"].includes(id));
54+
const allPools = Object.entries(this.getPoolsData()).filter(([id]) => !["crveth", "y", "busd", "pax", "susd", "aave"].includes(id));
5555
const amplificationCoefficientDict = await _getAmplificationCoefficientsFromApi.call(this);
5656
const poolTvlDict: IDict<number> = await entriesToDictAsync(allPools, _getTVL.bind(this));
5757
const input: IRouteGraphInput = { constants, chainId, isLiteChain, allPools, amplificationCoefficientDict, poolTvlDict };

0 commit comments

Comments
 (0)