Skip to content

Commit

Permalink
Update uniswapV3chain.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mantasfam committed Jul 1, 2024
1 parent ef61d01 commit 950d6ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/util/calculators/uniswapV3chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ async function getTvl(
detail: `Error: tvl of ethereum/uniswapv3`,
endpoint: 'tvl',
});
if (offset > 1000) {
if (offset > 3000) {
offset -= 2000;
} else if (offset > 100) {
} else if (offset > 300) {
offset -= 200;
} else if (offset > 10) {
} else if (offset > 30) {
offset -= 20;
} else {
break;
Expand Down

0 comments on commit 950d6ea

Please sign in to comment.