diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b26b26712..639b9871ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ ### Chore +- [#6183](https://github.com/blockscout/blockscout/pull/6183) - Transparent coin name definition - [#6155](https://github.com/blockscout/blockscout/pull/6155) - Refactor Ethereum JSON RPC variants - [#6125](https://github.com/blockscout/blockscout/pull/6125) - Rename obsolete "parity" EthereumJSONRPC.Variant to "nethermind" - [#6124](https://github.com/blockscout/blockscout/pull/6124) - Docker compose: add config for Erigon diff --git a/apps/block_scout_web/lib/block_scout_web/controllers/api/rpc/stats_controller.ex b/apps/block_scout_web/lib/block_scout_web/controllers/api/rpc/stats_controller.ex index 008af99de0..8c6d995ee0 100644 --- a/apps/block_scout_web/lib/block_scout_web/controllers/api/rpc/stats_controller.ex +++ b/apps/block_scout_web/lib/block_scout_web/controllers/api/rpc/stats_controller.ex @@ -3,6 +3,7 @@ defmodule BlockScoutWeb.API.RPC.StatsController do use Explorer.Schema + alias Explorer alias Explorer.{Chain, Etherscan, ExchangeRates} alias Explorer.Chain.Cache.{AddressSum, AddressSumMinusBurnt} alias Explorer.Chain.Wei @@ -60,7 +61,7 @@ defmodule BlockScoutWeb.API.RPC.StatsController do end def coinprice(conn, _params) do - symbol = Application.get_env(:explorer, :coin) + symbol = Explorer.coin() rates = ExchangeRates.lookup(symbol) render(conn, "coinprice.json", rates: rates) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/account/watchlist_address/form.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/account/watchlist_address/form.html.eex index 430de6ffef..c2a6dce569 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/account/watchlist_address/form.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/account/watchlist_address/form.html.eex @@ -24,7 +24,7 @@
<%= gettext("Please select what types of notifications you will receive:") %>