diff --git a/CHANGELOG.md b/CHANGELOG.md index 18c5173146..e993db8ba1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ ## Current ### Features -- [#2292](https://github.com/poanetwork/blockscout/pull/2292), [#3356](https://github.com/poanetwork/blockscout/pull/3356), [#3360](https://github.com/poanetwork/blockscout/pull/3360) - Add Web UI for POSDAO Staking DApp +- [#2292](https://github.com/poanetwork/blockscout/pull/2292), [#3356](https://github.com/poanetwork/blockscout/pull/3356), [#3359](https://github.com/poanetwork/blockscout/pull/3359), [#3360](https://github.com/poanetwork/blockscout/pull/3360) - Add Web UI for POSDAO Staking DApp - [#3354](https://github.com/poanetwork/blockscout/pull/3354) - Tx hash in EOA coin balance history - [#3333](https://github.com/poanetwork/blockscout/pull/3333), [#3337](https://github.com/poanetwork/blockscout/pull/3337) - Dark forest contract custom theme - [#3330](https://github.com/poanetwork/blockscout/pull/3330) - Caching of address transactions counter, remove query 10_000 rows limit diff --git a/apps/explorer/lib/explorer/smart_contract/reader.ex b/apps/explorer/lib/explorer/smart_contract/reader.ex index 266c6c1828..ae1a287aad 100644 --- a/apps/explorer/lib/explorer/smart_contract/reader.ex +++ b/apps/explorer/lib/explorer/smart_contract/reader.ex @@ -415,19 +415,19 @@ defmodule Explorer.SmartContract.Reader do end defp new_value(%{"type" => "address"} = output, [value], _index) do - Map.put_new(output, "value", bytes_to_string(value)) + Map.put_new(output, "value", value) end defp new_value(%{"type" => :address} = output, [value], _index) do - Map.put_new(output, "value", bytes_to_string(value)) + Map.put_new(output, "value", value) end defp new_value(%{"type" => "address"} = output, values, index) do - Map.put_new(output, "value", bytes_to_string(Enum.at(values, index))) + Map.put_new(output, "value", Enum.at(values, index)) end defp new_value(%{"type" => :address} = output, values, index) do - Map.put_new(output, "value", bytes_to_string(Enum.at(values, index))) + Map.put_new(output, "value", Enum.at(values, index)) end defp new_value(%{"type" => "bytes" <> number_rest} = output, values, index) do