|
|
|
@ -149,8 +149,7 @@ defmodule EthereumJSONRPC.Transaction do |
|
|
|
|
elixir_to_params(%{transaction | "input" => "0x"}) |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
def elixir_to_params( |
|
|
|
|
%{ |
|
|
|
|
def elixir_to_params(%{ |
|
|
|
|
"blockHash" => block_hash, |
|
|
|
|
"blockNumber" => block_number, |
|
|
|
|
"from" => from_address_hash, |
|
|
|
@ -165,9 +164,8 @@ defmodule EthereumJSONRPC.Transaction do |
|
|
|
|
"transactionIndex" => index, |
|
|
|
|
"v" => v, |
|
|
|
|
"value" => value |
|
|
|
|
} = transaction |
|
|
|
|
) do |
|
|
|
|
result = %{ |
|
|
|
|
}) do |
|
|
|
|
%{ |
|
|
|
|
block_hash: block_hash, |
|
|
|
|
block_number: block_number, |
|
|
|
|
from_address_hash: from_address_hash, |
|
|
|
|