ignore nethermind field for an error

pull/2196/head
Ayrat Badykov 6 years ago
parent b594c3c8af
commit 3ff500e9d7
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 6
      apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/receipt.ex

@ -294,6 +294,12 @@ defmodule EthereumJSONRPC.Receipt do
:ignore
end
# Nethermind field
defp entry_to_elixir({"error", _}) do
:ignore
end
defp entry_to_elixir({key, value}) do
{:error, {:unknown_key, %{key: key, value: value}}}
end

Loading…
Cancel
Save