Skip to content

Commit 0b87f3a

Browse files
committed
fix velo v3
1 parent e3626a1 commit 0b87f3a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/adaptors/velodrome-v3/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const getApy = async () => {
8989
let allStakedData = [];
9090
for (const pool of allPoolsData) {
9191
// don't waste RPC calls if gauge has no staked liquidity
92-
if (Number(pool.gauge_liquidity) == 0 || !pool.gauge_active) {
92+
if (Number(pool.gauge_liquidity) == 0) {
9393
allStakedData.push({'amount0': 0, 'amount1': 0});
9494
continue;
9595
}

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "ES5",
4+
"target": "ES2020",
55
"strict": false,
66
"types": ["node", "jest"],
77
"resolveJsonModule": true,
@@ -12,7 +12,7 @@
1212
"noFallthroughCasesInSwitch": true,
1313
"esModuleInterop": true,
1414
"allowJs": true,
15-
"lib": ["ES2020.Promise", "ES6"],
15+
"lib": ["ES2020"],
1616
"moduleDetection": "force"
1717
},
1818
"include": ["./src/**/*"]

0 commit comments

Comments
 (0)