Merge pull request #5416 from blockscout/np-fix-get-sourcecode

Fix getsourcecode for EOA addresses
pull/5410/head
Victor Baranov 3 years ago committed by GitHub
commit aa5636e2c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 4
      apps/block_scout_web/lib/block_scout_web/views/api/rpc/contract_view.ex

@ -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

@ -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

Loading…
Cancel
Save