Skip to content

Commit

Permalink
fix: remove unnecessary .bind calls
Browse files Browse the repository at this point in the history
  • Loading branch information
JackieJoo committed Oct 5, 2023
1 parent 2443c9d commit adb0865
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/dex/algebra/algebra.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export class Algebra extends SimpleExchange implements IDex<AlgebraData> {
dexKey,
this.config.factory,
this.logger,
this.onPoolCreatedDeleteFromNonExistingSet.bind(this),
this.onPoolCreatedDeleteFromNonExistingSet,
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/dex/pancakeswap-v3/pancakeswap-v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export class PancakeswapV3
dexKey,
this.config.factory,
this.logger,
this.onPoolCreatedDeleteFromNonExistingSet.bind(this),
this.onPoolCreatedDeleteFromNonExistingSet,
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/dex/uniswap-v3/uniswap-v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export class UniswapV3
dexKey,
this.config.factory,
this.logger,
this.onPoolCreatedDeleteFromNonExistingSet.bind(this),
this.onPoolCreatedDeleteFromNonExistingSet,
);
}

Expand Down

0 comments on commit adb0865

Please sign in to comment.