Update apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/transaction.ex

Co-Authored-By: konstantinzolotarev <konstantin.zolotarev@gmail.com>
pull/1321/head
Luke Imhoff 6 years ago committed by GitHub
parent a3b42133bc
commit 62777c078f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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

Loading…
Cancel
Save