|
|
@ -44,8 +44,8 @@ defmodule EthereumJSONRPC.Parity.Trace.Action do |
|
|
|
Enum.into(action, %{}, &entry_to_elixir/1) |
|
|
|
Enum.into(action, %{}, &entry_to_elixir/1) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
defp entry_to_elixir({key, _} = entry) |
|
|
|
defp entry_to_elixir({key, value} = entry) |
|
|
|
when key in ~w(address callType from init input refundAddress to), |
|
|
|
when key in ~w(address callType from init input refundAddress to) and is_binary(value), |
|
|
|
do: entry |
|
|
|
do: entry |
|
|
|
|
|
|
|
|
|
|
|
defp entry_to_elixir({key, quantity}) when key in ~w(balance gas value) do |
|
|
|
defp entry_to_elixir({key, quantity}) when key in ~w(balance gas value) do |
|
|
|