From 291b6fc861676ecf63f9e827dfea8fcf33dbe49a Mon Sep 17 00:00:00 2001 From: didi Date: Mon, 9 Sep 2024 15:55:10 +0200 Subject: [PATCH] fix logging --- packages/subgraph/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/subgraph/src/utils.ts b/packages/subgraph/src/utils.ts index 6e44281b7d..fd418ef6e7 100644 --- a/packages/subgraph/src/utils.ts +++ b/packages/subgraph/src/utils.ts @@ -148,7 +148,7 @@ export function getTokenInfoAndReturn(token: Token): Token { token.symbol = symbolResult.reverted ? "" : symbolResult.value; token.decimals = decimalsResult.reverted ? 0 : decimalsResult.value; - log.info("Got token info: underlying {}, name {}, symbol {}, decimals {}", [underlyingAddressResult.value.toHexString(), nameResult.value, symbolResult.value, decimalsResult.value.toString()]); + log.info("Got token info: underlying {}, name {}, symbol {}, decimals {}", [token.underlyingAddress.toHexString(), token.name, token.symbol, token.decimals.toString()]); return token; }