Skip to content

Commit

Permalink
TW-740 Change logging according to comments
Browse files Browse the repository at this point in the history
  • Loading branch information
keshan3262 committed Jul 3, 2023
1 parent 51cc5cb commit 9964568
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/utils/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const getTokensExchangeRates = async (): Promise<TokenExchangeRateEntry[]> => {
(token): token is ThreeRouteFa12Token | ThreeRouteFa2Token => token.standard !== ThreeRouteStandardEnum.xtz
)
.map(async (token): Promise<TokenExchangeRateEntry | undefined> => {
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);
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 9964568

Please sign in to comment.