diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bec02ebbd..29d52cf4ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - [#3224](https://github.com/poanetwork/blockscout/pull/3224) - Top tokens page ### Fixes +- [#3226](https://github.com/poanetwork/blockscout/pull/3226) - Fix notifier query for live update of token transfers - [#3220](https://github.com/poanetwork/blockscout/pull/3220) - Allow interaction with navbar menu at block-not-found page ### Chore 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 cc390f9cff..6f2fbcd144 100644 --- a/apps/block_scout_web/lib/block_scout_web/notifier.ex +++ b/apps/block_scout_web/lib/block_scout_web/notifier.ex @@ -119,7 +119,8 @@ defmodule BlockScoutWeb.Notifier do &(TokenTransfer |> Repo.get_by( transaction_hash: &1.transaction_hash, - token_contract_address_hash: &1.token_contract_address_hash + token_contract_address_hash: &1.token_contract_address_hash, + log_index: &1.log_index ) |> Repo.preload([:from_address, :to_address, :token, transaction: :block])) )