From ad6e4d9242214ef1e18635026a0bfd90672898a8 Mon Sep 17 00:00:00 2001 From: franz Date: Thu, 14 Dec 2023 13:31:47 +0100 Subject: [PATCH] reduce default max hop --- modules/sor/sorV2/sorV2.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sor/sorV2/sorV2.service.ts b/modules/sor/sorV2/sorV2.service.ts index bf4d89c2..9de44e90 100644 --- a/modules/sor/sorV2/sorV2.service.ts +++ b/modules/sor/sorV2/sorV2.service.ts @@ -274,7 +274,7 @@ export class SorV2Service implements SwapService { public async getSwapResult( { chain, tokenIn, tokenOut, swapType, swapAmount, graphTraversalConfig }: GetSwapsInput, - maxNonBoostedPathDepth = 4, + maxNonBoostedPathDepth = 3, ): Promise { try { const poolsFromDb = await this.getBasePools(chain);