Add tags to fallback render of coin balance history

pull/6106/head
Никита Поздняков 2 years ago
parent 4deb9c8a0d
commit faa4bbcd6f
No known key found for this signature in database
GPG Key ID: F344106F9804FE5F
  1. 1
      CHANGELOG.md
  2. 3
      apps/block_scout_web/lib/block_scout_web/controllers/address_coin_balance_controller.ex

@ -8,6 +8,7 @@
### Fixes
- [#6094](https://github.com/blockscout/blockscout/pull/6094) - Fix inconsistent behaviour of `getsourcecode` method
- [#6106](https://github.com/blockscout/blockscout/pull/6106) - Fix 500 response on `/coin-balance` for empty address
### Chore

@ -104,7 +104,8 @@ defmodule BlockScoutWeb.AddressCoinBalanceController do
coin_balance_status: nil,
exchange_rate: Market.get_exchange_rate(Explorer.coin()) || Token.null(),
counters_path: address_path(conn, :address_counters, %{"id" => Address.checksum(address_hash)}),
current_path: Controller.current_full_path(conn)
current_path: Controller.current_full_path(conn),
tags: get_address_tags(address_hash, current_user(conn))
)
_ ->

Loading…
Cancel
Save