Skip to content

Commit

Permalink
reduce default max hop
Browse files Browse the repository at this point in the history
  • Loading branch information
franzns committed Dec 14, 2023
1 parent 684f175 commit ad6e4d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/sor/sorV2/sorV2.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export class SorV2Service implements SwapService {

public async getSwapResult(
{ chain, tokenIn, tokenOut, swapType, swapAmount, graphTraversalConfig }: GetSwapsInput,
maxNonBoostedPathDepth = 4,
maxNonBoostedPathDepth = 3,
): Promise<SwapResult> {
try {
const poolsFromDb = await this.getBasePools(chain);
Expand Down

0 comments on commit ad6e4d9

Please sign in to comment.