fix: Filter out nil implementations from combine_proxy_implementation_addresses_map function result (#10943)

pull/10697/head
Victor Baranov 1 month ago committed by GitHub
parent a23e03e872
commit 898e3e3832
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      apps/explorer/lib/explorer/chain/transaction.ex

@ -2058,6 +2058,7 @@ defmodule Explorer.Chain.Transaction do
|> Enum.map(fn implementation_address_hash ->
Map.get(implementation_addresses_with_smart_contracts, implementation_address_hash)
end)
|> Enum.filter(&(!is_nil(&1)))
proxy_implementation_addresses_map
|> Map.put(proxy_implementations.proxy_address_hash, implementation_addresses_with_smart_contract_preload)

Loading…
Cancel
Save