From e74bfb9d3b3c3dcddec45bbdca3d76f7c7124f3d Mon Sep 17 00:00:00 2001 From: Felipe Renan Date: Wed, 26 Sep 2018 15:59:24 -0300 Subject: [PATCH] Fix token balance log error We inverted the value of address_hash with the contract_address_hash. This commit fixes that. --- apps/indexer/lib/indexer/token_balances.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/indexer/lib/indexer/token_balances.ex b/apps/indexer/lib/indexer/token_balances.ex index d01f0d338a..719d5af089 100644 --- a/apps/indexer/lib/indexer/token_balances.ex +++ b/apps/indexer/lib/indexer/token_balances.ex @@ -62,8 +62,8 @@ defmodule Indexer.TokenBalances do token_balances_params |> Stream.filter(fn token_balance -> token_balance.error != nil end) |> Enum.map(fn token_balance -> - " - "contract_address_hash: #{token_balance.address_hash}, " <> + " + "contract_address_hash: #{token_balance.token_contract_address_hash}, " <> "block_number: #{token_balance.block_number}, " <> "error: #{token_balance.error}> \n" end)