diff --git a/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/parity/trace/action.ex b/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/parity/trace/action.ex index 50ec995112..4b3442b9fe 100644 --- a/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/parity/trace/action.ex +++ b/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/parity/trace/action.ex @@ -44,8 +44,8 @@ defmodule EthereumJSONRPC.Parity.Trace.Action do Enum.into(action, %{}, &entry_to_elixir/1) end - defp entry_to_elixir({key, _} = entry) - when key in ~w(address callType from init input refundAddress to), + defp entry_to_elixir({key, value} = entry) + when key in ~w(address callType from init input refundAddress to) and is_binary(value), do: entry defp entry_to_elixir({key, quantity}) when key in ~w(balance gas value) do