Skip to content

Commit

Permalink
fix: minor
Browse files Browse the repository at this point in the history
  • Loading branch information
JackieJoo committed Jan 8, 2025
1 parent ea468a1 commit a9e1d66
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/dex/fluid-dex/fluid-dex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,9 @@ export class FluidDex extends SimpleExchange implements IDex<FluidDexData> {
// implement this function
async initializePricing(blockNumber: number) {
await this.factory.initialize(blockNumber);
this.pools = await this.fetchFluidDexPools(blockNumber);
this.pools = this.pools.filter(
this.pools = (await this.fetchFluidDexPools(blockNumber)).filter(
pool => !this.restrictedIds.includes(pool.id),
);

this.eventPools = await Promise.all(
this.pools.map(async pool => {
const eventPool = new FluidDexEventPool(
Expand Down

0 comments on commit a9e1d66

Please sign in to comment.