Skip to content

Commit

Permalink
add minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aburkut committed Sep 27, 2023
1 parent 278f74b commit 145603f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/dex/dexalot/dexalot-e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ function testForNetwork(
const sleepMs = 5000;

const sideToContractMethods = new Map([
[SwapSide.SELL, [ContractMethod.simpleSwap]],
[SwapSide.BUY, [ContractMethod.simpleBuy]],
[SwapSide.SELL, [ContractMethod.simpleSwap, ContractMethod.megaSwap, ContractMethod.multiSwap]],
[SwapSide.BUY, [ContractMethod.simpleBuy, ContractMethod.buy]],
]);

describe(`${network}`, () => {
Expand Down
3 changes: 1 addition & 2 deletions src/dex/dexalot/dexalot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ export class Dexalot extends SimpleExchange implements IDex<DexalotData> {
return null;
}

if (limitPools && limitPools.length != 1) {
if (limitPools && limitPools.length !== 1) {
return null;
}

Expand Down Expand Up @@ -438,7 +438,6 @@ export class Dexalot extends SimpleExchange implements IDex<DexalotData> {
},
];
} catch (e: unknown) {
this.logger.error(e);
this.logger.error(
`Error_getPricesVolume ${srcToken.symbol || srcToken.address}, ${
destToken.symbol || destToken.address
Expand Down

0 comments on commit 145603f

Please sign in to comment.