Merge pull request #3407 from poanetwork/vb-addjson_rpc-clause

Add EthereumJSONRPC.HTTP.HTTPoison.json_rpc function clause when URL is null
pull/3400/head
Victor Baranov 4 years ago committed by GitHub
commit 005dc217d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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 - [#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 ### 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 - [#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 - [#3404](https://github.com/poanetwork/blockscout/pull/3404) - DISABLE_KNOWN_TOKENS env var
- [#3403](https://github.com/poanetwork/blockscout/pull/3403) - Refactor Coingecko interaction - [#3403](https://github.com/poanetwork/blockscout/pull/3403) - Refactor Coingecko interaction

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

Loading…
Cancel
Save