Skip to content

Commit

Permalink
fix AssetGraph.ts tvl comparsion
Browse files Browse the repository at this point in the history
  • Loading branch information
Ridel1e committed Oct 2, 2023
1 parent b4b41cd commit 25cf908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/services/AssetGraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class AssetGraph {

if (!currentPool) {
this.pools.set(pairKey, pool);
} else if (comparePoolByTvl(currentPool, pool) === 1) {
} else if (comparePoolByTvl(currentPool, pool) > 0) {
this.pools.set(pairKey, pool);
}
}
Expand Down

0 comments on commit 25cf908

Please sign in to comment.