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 );