Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
d10r committed Sep 9, 2024
1 parent f9d2304 commit 291b6fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/subgraph/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 291b6fc

Please sign in to comment.