From a7b8c4e5bfb8df3e2d6685cc1ae191426a5b0e3e Mon Sep 17 00:00:00 2001 From: Vasilis Xouris Date: Wed, 30 Oct 2024 14:05:56 -0700 Subject: [PATCH] simplify --- src/providers/on-chain-quote-provider.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/providers/on-chain-quote-provider.ts b/src/providers/on-chain-quote-provider.ts index 90bd7d28d..ebf5126ef 100644 --- a/src/providers/on-chain-quote-provider.ts +++ b/src/providers/on-chain-quote-provider.ts @@ -1245,9 +1245,7 @@ export class OnChainQuoteProvider implements IOnChainQuoteProvider { protocol, optimisticCachedRoutes )}RoutesQuotesLength`, - routesQuotes - .map((routeWithQuotes) => routeWithQuotes[1].length) - .reduce((a, b) => a + b, 0), + successfulQuotes.length + failedQuotes.length, MetricLoggerUnit.Count );