diff --git a/CHANGELOG.md b/CHANGELOG.md index 8688f3d2cc..cf77dd58fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - [#5268](https://github.com/blockscout/blockscout/pull/5268) - Contract names display improvement ### Fixes +- [#5416](https://github.com/blockscout/blockscout/pull/5416) - Fix getsourcecode for EOA addresses - [#5383](https://github.com/blockscout/blockscout/pull/5383) - Fix reload transactions button - [#5381](https://github.com/blockscout/blockscout/pull/5381), [#5397](https://github.com/blockscout/blockscout/pull/5397) - Fix exchange rate broadcast error - [#5375](https://github.com/blockscout/blockscout/pull/5375) - Fix pending transactions fetcher diff --git a/apps/block_scout_web/lib/block_scout_web/views/api/rpc/contract_view.ex b/apps/block_scout_web/lib/block_scout_web/views/api/rpc/contract_view.ex index 11c5446e93..e0e9d43ec0 100644 --- a/apps/block_scout_web/lib/block_scout_web/views/api/rpc/contract_view.ex +++ b/apps/block_scout_web/lib/block_scout_web/views/api/rpc/contract_view.ex @@ -72,6 +72,10 @@ defmodule BlockScoutWeb.API.RPC.ContractView do |> set_proxy_info(contract) end + defp set_proxy_info(contract_output, contract) when contract == %{} do + contract_output + end + defp set_proxy_info(contract_output, contract) do result = if contract.is_proxy do