|
|
|
@ -173,6 +173,7 @@ defmodule EthereumJSONRPC.Parity.FetchedBeneficiaries do |
|
|
|
|
defp get_address_type(reward_type, index) when reward_type == "external" and index == 1, do: :emission_funds |
|
|
|
|
defp get_address_type(reward_type, index) when reward_type == "external" and index == 2, do: :validator |
|
|
|
|
defp get_address_type(reward_type, index) when reward_type == "external" and index == 3, do: :validator |
|
|
|
|
defp get_address_type(reward_type, index) when reward_type == "external" and index == 4, do: :validator |
|
|
|
|
defp get_address_type(reward_type, _index) when reward_type == "block", do: :validator |
|
|
|
|
defp get_address_type(reward_type, _index) when reward_type == "uncle", do: :uncle |
|
|
|
|
end |
|
|
|
|