pull/5397/head
nikitosing 3 years ago
parent f67aaf85c0
commit caa84efec1
  1. 2
      CHANGELOG.md
  2. 4
      apps/block_scout_web/test/block_scout_web/channels/exchange_rate_channel_test.exs

@ -7,7 +7,7 @@
### Fixes
- [#5383](https://github.com/blockscout/blockscout/pull/5383) - Fix reload transactions button
- [#5381](https://github.com/blockscout/blockscout/pull/5381) - Fix exchange rate broadcast error
- [#5381](https://github.com/blockscout/blockscout/pull/5381), [#5397](https://github.com/blockscout/blockscout/pull/5397) - Fix exchange rate broadcast error
- [#5375](https://github.com/blockscout/blockscout/pull/5375) - Fix pending transactions fetcher
- [#5374](https://github.com/blockscout/blockscout/pull/5374) - Return all ERC-1155's token instances in tokenList api endpoint
- [#5342](https://github.com/blockscout/blockscout/pull/5342) - Fix 500 error on NF token page with nil metadata

@ -20,7 +20,7 @@ defmodule BlockScoutWeb.ExchangeRateChannelTest do
ExchangeRates.init([])
token = %{
token = %Token{
available_supply: Decimal.new("1000000.0"),
total_supply: Decimal.new("1000000.0"),
btc_value: Decimal.new("1.000"),
@ -89,7 +89,7 @@ defmodule BlockScoutWeb.ExchangeRateChannelTest do
receive do
%Phoenix.Socket.Broadcast{topic: ^topic, event: "new_rate", payload: payload} ->
assert payload.exchange_rate == token
assert payload.exchange_rate == Map.from_struct(token)
assert payload.market_history_data == records
after
:timer.seconds(5) ->

Loading…
Cancel
Save