Skip to content

Commit

Permalink
fix: minor 2
Browse files Browse the repository at this point in the history
  • Loading branch information
JackieJoo committed Jan 8, 2025
1 parent 17778bb commit 325cd85
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/dex/fluid-dex/fluid-dex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,9 @@ export class FluidDex extends SimpleExchange implements IDex<FluidDexData> {
}

protected onPoolCreatedUpdatePools(poolsFromFactory: readonly Pool[]) {
this.pools = this.generateFluidDexPoolsFromPoolsFactory(poolsFromFactory);
this.pools = this.pools.filter(
pool => !this.restrictedIds.includes(pool.id),
);
this.pools = this.generateFluidDexPoolsFromPoolsFactory(
poolsFromFactory,
).filter(pool => !this.restrictedIds.includes(pool.id));
this.logger.info(`${this.dexKey}: pools list was updated ...`);
}

Expand Down

0 comments on commit 325cd85

Please sign in to comment.