Skip to content

Commit

Permalink
Don't update tx cache from indexer.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkachowski committed Feb 6, 2024
1 parent a5a0b72 commit 32dd1b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/indexer/lib/indexer/block/fetcher.ex
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,9 @@ defmodule Indexer.Block.Fetcher do
defp update_block_cache(_), do: :ok

defp update_transactions_cache(transactions) do
Transactions.update(transactions)
# Celo - Indexer and Web are not using the same cache instance, no need to update here
# Transactions.update(transactions)
:ok
end

defp update_addresses_cache(addresses), do: Accounts.drop(addresses)
Expand Down

0 comments on commit 32dd1b2

Please sign in to comment.