Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
xrsv committed Oct 30, 2024
1 parent d7847a9 commit a7b8c4e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/providers/on-chain-quote-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
);

Expand Down

0 comments on commit a7b8c4e

Please sign in to comment.