diff --git a/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/transaction.ex b/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/transaction.ex index 4f3ced8ff0..a8ccafb0a2 100644 --- a/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/transaction.ex +++ b/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/transaction.ex @@ -312,7 +312,7 @@ defmodule EthereumJSONRPC.Transaction do end # as always ganache has it's own vision on JSON RPC standard - defp entry_to_elixir({key, quantity}) when key in ~w(r s v) and quantity == nil do + defp entry_to_elixir({key, nil}) when key in ~w(r s v) do {key, 0} end