|
|
@ -480,7 +480,7 @@ defmodule EthereumJSONRPC.Block do |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
defp entry_to_elixir({key, quantity}) |
|
|
|
defp entry_to_elixir({key, quantity}) |
|
|
|
when key in ~w(difficulty gasLimit gasUsed minimumGasPrice number size cumulativeDifficulty totalDifficulty paidFees) and |
|
|
|
when key in ~w(difficulty gasLimit gasUsed minimumGasPrice baseFeePerGas number size cumulativeDifficulty totalDifficulty paidFees) and |
|
|
|
not is_nil(quantity) do |
|
|
|
not is_nil(quantity) do |
|
|
|
{key, quantity_to_integer(quantity)} |
|
|
|
{key, quantity_to_integer(quantity)} |
|
|
|
end |
|
|
|
end |
|
|
|