nillify index

pull/2456/head
Ayrat Badykov 5 years ago
parent c5858c62ca
commit 9246d90770
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 4
      apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/geth.ex

@ -63,9 +63,9 @@ defmodule EthereumJSONRPC.Geth do
|> Transactions.to_elixir() |> Transactions.to_elixir()
|> Transactions.elixir_to_params() |> Transactions.elixir_to_params()
|> Enum.map(fn 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 # https://github.com/ethereum/go-ethereum/issues/19897
%{params | block_hash: nil} %{params | block_hash: nil, index: nil}
end) end)
{:ok, transactions_params} {:ok, transactions_params}

Loading…
Cancel
Save