Skip to content

Commit

Permalink
Merge pull request #593 from beethovenxfi/v3-canary
Browse files Browse the repository at this point in the history
reduce default max hop to 3
  • Loading branch information
franzns authored Dec 14, 2023
2 parents 7cd1680 + ad6e4d9 commit e726055
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 e726055

Please sign in to comment.