From 9246d9077066af4f8f5bb99f88d6f5462e4fc6ac Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Tue, 30 Jul 2019 15:09:55 +0300 Subject: [PATCH] nillify index --- apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/geth.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/geth.ex b/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/geth.ex index 602ccb6d86..7aee4a1586 100644 --- a/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/geth.ex +++ b/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/geth.ex @@ -63,9 +63,9 @@ defmodule EthereumJSONRPC.Geth do |> Transactions.to_elixir() |> Transactions.elixir_to_params() |> Enum.map(fn params -> - # txpool_content always returns transaction with 0x0000000000000000000000000000000000000000000000000000000000000000 value in block hash. + # txpool_content always returns transaction with 0x0000000000000000000000000000000000000000000000000000000000000000 value in block hash and index is not null. # https://github.com/ethereum/go-ethereum/issues/19897 - %{params | block_hash: nil} + %{params | block_hash: nil, index: nil} end) {:ok, transactions_params}