Skip to content

Commit

Permalink
(fix) prevent alpha router from starting in base
Browse files Browse the repository at this point in the history
  • Loading branch information
fengtality committed Jul 25, 2024
1 parent 5aa12e3 commit 2126514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connectors/uniswap/uniswap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class Uniswap implements Uniswapish {
this._maximumHops = UniswapConfig.config.maximumHops;

this._alphaRouter = null;
if (this.chainId !== 11155111) {
if (this.chainId !== 11155111 && this.chainId !== 8453) {
this._alphaRouter = new AlphaRouter({
chainId: this.chainId,
provider: this.chain.provider,
Expand Down

0 comments on commit 2126514

Please sign in to comment.