From 9964568c27a05015345656e2aeea4ccc3718b580 Mon Sep 17 00:00:00 2001 From: Inokentii Mazhara Date: Mon, 3 Jul 2023 17:22:53 +0300 Subject: [PATCH] TW-740 Change logging according to comments --- src/utils/tokens.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/utils/tokens.ts b/src/utils/tokens.ts index 864d0f3..70a6a53 100644 --- a/src/utils/tokens.ts +++ b/src/utils/tokens.ts @@ -82,7 +82,7 @@ const getTokensExchangeRates = async (): Promise => { (token): token is ThreeRouteFa12Token | ThreeRouteFa2Token => token.standard !== ThreeRouteStandardEnum.xtz ) .map(async (token): Promise => { - logger.info(token.symbol); + logger.info(`Getting exchange rate for ${token.symbol}`); const { contract, tokenId: rawTokenId } = token; const tokenId = isDefined(rawTokenId) ? Number(rawTokenId) : undefined; await probeSwapsProvider.subscribe(token.symbol); @@ -187,8 +187,7 @@ blockFinder(EMPTY_BLOCK, async block => } if (token.symbol === THREE_ROUTE_SIRS_SYMBOL) { - logger.info('swap output for SIRS should be updated each block because of baking subsidy'); - + // Swap output for SIRS should be updated each block because of baking subsidy return true; }