diff --git a/apps/block_scout_web/lib/block_scout_web/notifier.ex b/apps/block_scout_web/lib/block_scout_web/notifier.ex index 5caeb72bd6..fee7421611 100644 --- a/apps/block_scout_web/lib/block_scout_web/notifier.ex +++ b/apps/block_scout_web/lib/block_scout_web/notifier.ex @@ -55,7 +55,7 @@ defmodule BlockScoutWeb.Notifier do internal_transactions |> Stream.map( &(InternalTransaction - |> Repo.get_by([transaction_hash: &1.transaction_hash, index: &1.index]) + |> Repo.get_by(transaction_hash: &1.transaction_hash, index: &1.index) |> Repo.preload([:from_address, :to_address, transaction: :block])) ) |> Enum.each(&broadcast_internal_transaction/1)