From 62777c078f3a145658a584e5c11eb52cd54798cb Mon Sep 17 00:00:00 2001 From: Luke Imhoff Date: Wed, 9 Jan 2019 21:35:35 +0200 Subject: [PATCH] Update apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/transaction.ex Co-Authored-By: konstantinzolotarev --- apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/transaction.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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