Add EthereumJSONRPC.HTTP.HTTPoison.json_rpc function clause when URL is null

pull/3407/head
Victor Baranov 4 years ago
parent c63ea210e9
commit e3acd57c20
  1. 1
      CHANGELOG.md
  2. 2
      apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/http/httpoison.ex

@ -37,6 +37,7 @@
- [#3335](https://github.com/poanetwork/blockscout/pull/3335) - MarketCap calculation: check that ETS tables exist before inserting new data or lookup from the table
### Chore
- [#3407](https://github.com/poanetwork/blockscout/pull/3407) - Add EthereumJSONRPC.HTTP.HTTPoison.json_rpc function clause when URL is null
- [#3405](https://github.com/poanetwork/blockscout/pull/3405) - N/A instead of 0 for market cap if it is not fetched
- [#3404](https://github.com/poanetwork/blockscout/pull/3404) - DISABLE_KNOWN_TOKENS env var
- [#3403](https://github.com/poanetwork/blockscout/pull/3403) - Refactor Coingecko interaction

@ -17,4 +17,6 @@ defmodule EthereumJSONRPC.HTTP.HTTPoison do
{:error, reason}
end
end
def json_rpc(url, _json, _options) when is_nil(url), do: {:error, "URL is nil"}
end

Loading…
Cancel
Save