@ -64,12 +64,10 @@ defmodule Explorer.ExchangeRates.Source do
end
def decode_json(data) do
try do
Jason.decode!(data)
rescue
_ -> data
def to_decimal(nil), do: nil